added school path, added school functions
This commit is contained in:
parent
7eeae52b4e
commit
2c357d2c54
@ -1,33 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
cd ~/ || exit 1
|
|
||||||
mkdir parsec_tmp
|
|
||||||
cd parsec_tmp || exit 1
|
|
||||||
|
|
||||||
grep -q 'opensuse' /etc/os-release
|
|
||||||
isopensuse=$?
|
|
||||||
if [ $isopensuse -eq 0 ]; then
|
|
||||||
sudo zypper -n in debhelper
|
|
||||||
wget http://download.opensuse.org/repositories/home:/Asukero/openSUSE_Tumbleweed/i586/alien-8.88-4.16.i586.rpm
|
|
||||||
alien_file=$(ls alien*)
|
|
||||||
yes | sudo rpm -i --force "${alien_file}"
|
|
||||||
else
|
|
||||||
sudo dnf -y install alien rpmrebuild
|
|
||||||
fi
|
|
||||||
|
|
||||||
wget https://s3.amazonaws.com/parsec-build/package/parsec-linux.deb
|
|
||||||
sudo alien -r parsec-linux.deb
|
|
||||||
parsec_file=$(ls parsec*.rpm)
|
|
||||||
|
|
||||||
if [ $isopensuse -eq 0 ]; then
|
|
||||||
yes | sudo rpm -i --force "${parsec_file}"
|
|
||||||
else
|
|
||||||
arch=$(uname -m)
|
|
||||||
rpmrebuild -p --change-spec-whole='sed "/\"\/\"\|\"\/usr\"\|\"\/usr\/bin\"/d"' --directory=. "${parsec_file}"
|
|
||||||
sudo dnf -y install "${arch}"/"${parsec_file}"
|
|
||||||
echo "Note: run 'sudo dnf remove alien rpmrebuild' if you don't want to keep those packages after install."
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd ../ || exit 1
|
|
||||||
rm -rf parsec_tmp
|
|
||||||
echo "Now use parsecd in the terminal to start parsec."
|
|
||||||
echo "Enjoy Gaming!"
|
|
4
src/school/mkt201paper.php
Normal file
4
src/school/mkt201paper.php
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<?
|
||||||
|
$url = "https://wyattjmiller.com/comingsoon.php";
|
||||||
|
header("Location: " . $url);
|
||||||
|
?>
|
4
src/school/mkt201pres.php
Normal file
4
src/school/mkt201pres.php
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<?
|
||||||
|
$url = "https://docs.google.com/presentation/d/1Aa3veC98tlwjQLTsJ7waoCtq7DooP7zGvhijK0W9fwA/";
|
||||||
|
header("Location: " . $url);
|
||||||
|
?>
|
Loading…
Reference in New Issue
Block a user