diff --git a/setup/kegs-setup-shell.txt b/setup/kegs-setup-shell.txt deleted file mode 100644 index e3c1428..0000000 --- a/setup/kegs-setup-shell.txt +++ /dev/null @@ -1,9 +0,0 @@ -#! /bin/bash -# vim: set tabstop=4 shiftwidth=4 expandtab filetype=sh: - -wget -qO /tmp/gsport-setup http://rawgit.com/RasppleII/a2cloud/master/setup/kegs-setup.txt -if [[ $(wc -c /tmp/gsport-setup | grep '^0 ') ]]; then - echo "Please connect to the internet to set up KEGS." -else - source /tmp/gsport-setup -k "$@" -fi diff --git a/setup/kegs-setup.txt b/setup/kegs-setup.txt deleted file mode 100644 index 6c09bab..0000000 --- a/setup/kegs-setup.txt +++ /dev/null @@ -1,6 +0,0 @@ -if [[ -f /usr/local/bin/gsport-setup ]]; then - wget -O /tmp/gsport-setup https://rawgit.com/RasppleII/a2cloud/master/setup/gsport-setup.txt - source /tmp/gsport-setup -k "$@" -else - gsport-setup -k "$@" -fi diff --git a/setup/kegs.txt b/setup/kegs.txt deleted file mode 100644 index 42af2af..0000000 --- a/setup/kegs.txt +++ /dev/null @@ -1,28 +0,0 @@ -#! /bin/bash -# vim: set tabstop=4 shiftwidth=4 expandtab filetype=sh: - -if [[ ! $DISPLAY ]]; then - echo "Please run KEGS in an X Window." - echo "(If you are using the console, type 'startx'.)" -else - if [[ -f /usr/local/lib/rom.kegs ]]; then - if [[ ! $(grep snd-pcm-oss /etc/modules) ]]; then - echo "Configuring KEGS sound..." - echo "snd-pcm-oss" | sudo tee -a /etc/modules > /dev/null - [[ ! $(lsmod | grep snd_pcm_oss) ]] && sudo modprobe snd-pcm-oss - fi - - if [[ ! $(dpkg -l xfonts-base 2> /dev/null | grep '^ii') ]]; then - echo "Configuring KEGS fonts..." - sudo apt-get -y update - sudo apt-get -y install xfonts-base &> /dev/null - sudo apt-get -y clean - fi - - exec xkegs - else - kegs-setup - [[ $? -ne 0 ]] && exit 1 - exec kegs - fi -fi