onionshare/tails/install.sh
2014-06-14 01:43:31 +00:00

14 lines
336 B
Bash
Executable File

#!/bin/bash
if [[ $EUID -ne 0 ]]; then
echo "You need to run this as root" 1>&2
exit 1
fi
PERSISTENT=/home/amnesia/Persistent
INSTALL_DIR=$PERSISTENT/.onionshare_install
/usr/bin/dpkg -i $INSTALL_DIR/*.deb
/usr/bin/sudo -u amnesia /usr/bin/notify-send "OnionShare Installed" "Open with Applications > Internet > OnionShare"