mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-27 00:09:50 -05:00
14 lines
336 B
Bash
Executable File
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"
|