irssi-sound/install

8 lines
385 B
Plaintext
Raw Permalink Normal View History

#!/bin/bash
#Basic Install Script
2016-08-26 05:37:13 -04:00
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/
2016-08-26 05:37:13 -04:00
cp -v sound.pl ~/.irssi/scripts/
[ -L $HOME/.irssi/scripts/autorun/sound.pl ] || ln -s $HOME/.irssi/scripts/sound.pl $HOME/.irssi/scripts/autorun/sound.pl
echo "Done!"