ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/FreeBSDAdmin/SoekrisBoot/upload
Revision: 1318
Committed: 2010-05-09T01:32:59-07:00 (15 years, 1 month ago) by douglas
Content type: text/x-sh
File size: 340 byte(s)
Log Message:
Finally!

File Contents

# Content
1 #!/usr/bin/env bash
2 # Soekris Boot Upload
3 #
4 # Douglas Thrift
5 #
6 # $Id$
7
8 set -e
9 shopt -s nullglob
10
11 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"

Properties

Name Value
svn:executable *
svn:keywords Id
svn:mime-type text/x-sh