fansified install.

This commit is contained in:
Storm Dragon 2016-08-26 05:37:13 -04:00
parent cebf7e6571
commit a98609ffa5

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
#Basic Install Script #Basic Install Script
echo "This will install to~/.irssi/scripts and create a simlink to autostart the script." read -p "This will install to~/.irssi/scripts and create a simlink to autostart the script. Press enter to continue or control+c to exit." continue
mkdir -p ~/.irssi/scripts/autorun/ mkdir -p ~/.irssi/scripts/autorun/
cp sound.pl ~/.irssi/scripts/ cp -v sound.pl ~/.irssi/scripts/
ln -s ~/.irssi/scripts/sound.pl ~/.irssi/scripts/autorun/sound.pl [ -L $HOME/.irssi/scripts/autorun/sound.pl ] || ln -s $HOME/.irssi/scripts/sound.pl $HOME/.irssi/scripts/autorun/sound.pl
echo "Done!" echo "Done!"