Last change
on this file since 1751 was
1751,
checked in by mabarracus, 5 years ago
|
Add Initial Release
|
-
Property svn:executable set to
*
|
File size:
373 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | set -e |
---|
3 | |
---|
4 | if [ $UID -ne 0 ]; then |
---|
5 | echo "This build needs run as root, exitting..." |
---|
6 | exit 1 |
---|
7 | fi |
---|
8 | |
---|
9 | DEPENDENCIES="ltsp-build-client ltsp-chroot apt-key apt" |
---|
10 | |
---|
11 | echo "Checking dependencies ..." |
---|
12 | for prog in ${DEPENDENCIES}; do |
---|
13 | T=$(which ${prog}) |
---|
14 | if [ -z ${T} ]; then |
---|
15 | echo "This build needs ${prog}, please install & run again" |
---|
16 | exit 1 |
---|
17 | fi |
---|
18 | done |
---|
19 | |
---|
20 | exit 0 |
---|
Note: See
TracBrowser
for help on using the repository browser.