OSDN Git Service

Update release & upgrade infor. Fix clean.sh script.
[neighbornote/NeighborNote.git] / package_scripts / clean.sh
1 #!/bin/sh
2
3
4 package_dir=$(cd `dirname $0` && pwd)
5
6 destination="$package_dir/nevernote/usr/share/nevernote"
7
8 if [ "$(id -u)" != "0" ]; then
9    echo "This script must be run as root" 1>&2
10    exit 1
11 fi
12
13
14 # clean out old packages
15 rm  $package_dir/tar/*.gz
16 rm  $package_dir/deb/*.rpm
17 rm  $package_dir/deb/*.deb