From 2c357d2c54754163bd60a2b37c5c4bbf3fd6d4ee Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Sun, 8 Dec 2019 14:05:30 -0500 Subject: [PATCH] added school path, added school functions --- parsec-fedora | 33 --------------------------------- src/{ => school}/eco202pres.php | 0 src/school/mkt201paper.php | 4 ++++ src/school/mkt201pres.php | 4 ++++ 4 files changed, 8 insertions(+), 33 deletions(-) delete mode 100644 parsec-fedora rename src/{ => school}/eco202pres.php (100%) create mode 100644 src/school/mkt201paper.php create mode 100644 src/school/mkt201pres.php diff --git a/parsec-fedora b/parsec-fedora deleted file mode 100644 index 5979d8d..0000000 --- a/parsec-fedora +++ /dev/null @@ -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!" diff --git a/src/eco202pres.php b/src/school/eco202pres.php similarity index 100% rename from src/eco202pres.php rename to src/school/eco202pres.php diff --git a/src/school/mkt201paper.php b/src/school/mkt201paper.php new file mode 100644 index 0000000..88674db --- /dev/null +++ b/src/school/mkt201paper.php @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/src/school/mkt201pres.php b/src/school/mkt201pres.php new file mode 100644 index 0000000..ac94e9c --- /dev/null +++ b/src/school/mkt201pres.php @@ -0,0 +1,4 @@ + \ No newline at end of file