diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-07-14 00:11:22 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-07-14 00:11:22 +0200 |
commit | 689c64d7d1017f88fa4dad8a593b8c4bbc03994b (patch) | |
tree | 4db6df52a2b8318066d46b88e77fc2e0db2112b2 | |
parent | 2911ddf0be34bb2c5a322706424404ad38019810 (diff) | |
download | jenkins.debian.net-689c64d7d1017f88fa4dad8a593b8c4bbc03994b.tar.xz |
explain how to use $UP2DATE
-rwxr-xr-x | update_jdn.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/update_jdn.sh b/update_jdn.sh index 286bad9a..f375e2e3 100755 --- a/update_jdn.sh +++ b/update_jdn.sh @@ -567,7 +567,7 @@ if [ "$HOSTNAME" = "jenkins" ] ; then figlet -f banner Error explain "you must set \$PVNAME to physical volume pathname, exiting." exit 1 - else + elif ! $UP2DATE ; then if ! sudo pvs $PVNAME >/dev/null 2>&1; then sudo pvcreate $PVNAME fi |