Changes for install.sh: 6 added lines, 18 removed lines.
Original line number
Diff line number
Diff line
#/bin/bash
theme="DARK"# one of Dark, Light
if["$(whoami)"!="root"]
then echo"This script is not running as root... exiting"&&exit 1
fi
@@ -34,26 +35,13 @@ fi
cp-rv ./web/*${installdir}/web/
if["$1"!="-u"]
then
echo-e"\nTransmission soft theme successfully installed!\n\nWould you like to apply a soft theme now?\nWARNING: if this is an UPDATE you have to skip this!\nNOTE: if you've already installed it, to change theme just modify the "$installdir"/web/index.html following the instructions on the wiki!\n"