Last change
on this file since 2481 was
2202,
checked in by price, 16 years ago
|
trivial fix
|
-
Property svn:executable set to
*
|
File size:
297 bytes
|
Rev | Line | |
---|
[2196] | 1 | #!/bin/bash |
---|
| 2 | set -e |
---|
| 3 | name=`ssh root@xvm-dev "ls $1*.deb"` |
---|
| 4 | shift; |
---|
| 5 | scp root@xvm-dev:~/$name . |
---|
[2202] | 6 | ssh root@xvm-dev mv "$name" "${name}_backup" |
---|
[2196] | 7 | for i in "$@"; do |
---|
| 8 | scp "$name" root@$i: |
---|
| 9 | ssh root@$i -t dpkg -i "$name" |
---|
| 10 | ssh root@$i rm $name |
---|
| 11 | done |
---|
| 12 | rm $name |
---|
[2202] | 13 | ssh root@xvm-dev mv "${name}_backup" "$name" |
---|
Note: See
TracBrowser
for help on using the repository browser.