OSDN Git Service

Add logic to disable tray options if there is no tray available.
[neighbornote/NeighborNote.git] / uninstall.sh
1 #!/bin/sh
2
3
4 package_dir=$(cd `dirname $0` && pwd)
5
6 if [ "$(id -u)" != "0" ]; then
7    echo "This script must be run as root" 1>&2
8    exit 1
9 fi
10
11 rm /usr/share/applications/nixnote.desktop
12 rm -rf /usr/share/nixnote
13
14 echo "Uninstall completed"