OSDN Git Service

Add man page, modify package scripts for new path bin and commit changes missed on...
[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/nevernote.desktop /usr/share/applications/nevernote.desktop
11 mkdir /usr/share/nevernote
12 cp -r $package_dir/usr/share/nevernote/* /usr/share/nevernote/
13
14 echo "Install complete"