OSDN Git Service

- Added TomboyExporter.
[neighbornote/NeighborNote.git] / install.sh
1 #!/bin/sh
2
3 package_dir=$(cd `dirname $0` && pwd)
4
5 if [ "$(id -u)" != "0" ]; then
6    echo "This script must be run as root" 1>&2
7    exit 1
8 fi
9
10 cp $package_dir/usr/share/applications/nixnote.desktop /usr/share/applications/nixnote.desktop
11 mkdir /usr/share/nixnote
12 cp -r $package_dir/usr/share/nixnote/* /usr/share/nixnote/
13
14 echo "Install complete"