OSDN Git Service

62548c977b07e49059701e34e4e01b89c2acd096
[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 # remove translations 
14 rm  $package_dir/../translations/*.qm
15
16 # clean out old packages
17 rm  $package_dir/tar/*.gz
18 rm  $package_dir/deb/*.rpm
19 rm  $package_dir/deb/*.deb