irssi-autospeak/install

8 lines
401 B
Plaintext
Raw Normal View History

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