diff --git a/parsec-fedora b/parsec-fedora new file mode 100644 index 0000000..5979d8d --- /dev/null +++ b/parsec-fedora @@ -0,0 +1,33 @@ +#!/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/blog/index.md b/src/blog/index.md index a49fe25..9721bdf 100644 --- a/src/blog/index.md +++ b/src/blog/index.md @@ -7,6 +7,4 @@ layout: home What's happening, my fellow developers? Want to go [back to the site?](https://wyattjmiller.com) -
-

\ No newline at end of file diff --git a/src/eco202pres.php b/src/eco202pres.php new file mode 100644 index 0000000..8b8df32 --- /dev/null +++ b/src/eco202pres.php @@ -0,0 +1,4 @@ + \ No newline at end of file