Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 17 lines (13 sloc) 0.365 kb
1e5559d @richo initial commit
richo authored
1 #!/bin/sh
2
85e6dd8 @richo Update script to use multiple repos
richo authored
3 if [ -z "$1" ]; then
4 echo "Usage: ./sign.sh REPO_CODENAME [signing user]">&2
5 exit 1
6 fi
7
8 user=""
9 [ -n "$SUDO_USER" ] &&
10 user=$SUDO_USER
11 [ -n "$2" ] &&
12 user=$2
13
14 su $user -c "gpg -abs -o ~/Release.gpg /var/repo/apt/dists/$1/Release"
15 mv ~$user/Release.gpg /var/repo/apt/dists/$1/Release.gpg
16 chown root:root /var/repo/apt/dists/$1/Release.gpg
Something went wrong with that request. Please try again.