Revision: | 1318 |
Committed: | 2010-05-09T01:32:59-07:00 (15 years, 2 months ago) by douglas |
Content type: | text/x-sh |
File size: | 340 byte(s) |
Log Message: | Finally! |
# | User | Rev | Content |
---|---|---|---|
1 | douglas | 1124 | #!/usr/bin/env bash |
2 | douglas | 1130 | # Soekris Boot Upload |
3 | douglas | 1124 | # |
4 | # Douglas Thrift | ||
5 | # | ||
6 | # $Id$ | ||
7 | |||
8 | douglas | 1318 | set -e |
9 | shopt -s nullglob | ||
10 | douglas | 1124 | |
11 | douglas | 1318 | server='backless.douglasthrift.net' |
12 | base='DouglasThrift.net/APT' | ||
13 | path="$base/data/files/soekrisboot" | ||
14 | file=(soekrisboot-*.tar.bz2) | ||
15 | |||
16 | [[ -z $file ]] && exit 1 | ||
17 | |||
18 | rsync -Ptv $file "$server:$path" | ||
19 | ssh $server "$base/bin/apt-stamp update $path/$file" |
Name | Value |
---|---|
svn:executable | * |
svn:keywords | Id |
svn:mime-type | text/x-sh |