mirror of
https://github.com/RasppleII/a2cloud.git
synced 2025-02-20 03:29:03 +00:00
kegs*: Remove kegs scripts we no longer need/use
This commit is contained in:
parent
cbe9548964
commit
cdd613f757
@ -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
|
@ -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
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user