Revision 23134,
316 bytes
checked in by andersk, 15 years ago
(diff) |
apt-get update in find-openafs-kernels.
|
-
Property svn:executable set to
*
|
Rev | Line | |
---|
[22702] | 1 | #!/bin/sh |
---|
| 2 | set -xe |
---|
| 3 | |
---|
| 4 | if [ "$1" = "-A" ]; then shift; fi |
---|
| 5 | |
---|
| 6 | dist=$1 |
---|
| 7 | |
---|
[23134] | 8 | kernels=$(schroot -c "$dist-sbuild" --directory=/ -u root -- sh -c 'apt-get update >&2 && apt-get -y install wget apt-file >&2 && apt-file update >&2 && apt-file search --package-only --regexp "/usr/src/.*/\.config"' </dev/null) |
---|
[22702] | 9 | |
---|
| 10 | echo "$dist" $kernels |
---|
Note: See
TracBrowser
for help on using the repository browser.