projects
/
backups
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Used Carl's super-cool shell script shorthand to source system config file.
[backups/.git]
/
scripts
/
pack-image.sh
diff --git
a/scripts/pack-image.sh
b/scripts/pack-image.sh
index f2aae3ee1d9b97a0d2f229a781ed8e0a304163a8..b6557f6ba116e344957c14c777a2c828a5c43e61 100755
(executable)
--- a/
scripts/pack-image.sh
+++ b/
scripts/pack-image.sh
@@
-8,10
+8,7
@@
export PATH=$scriptsdir:/bin:/usr/bin:/sbin:/usr/sbin
. config.sh
# source the system specific configuration
-if [ -f /etc/lsbackups.conf ]
-then
- . /etc/lsbackups.conf
-fi
+[ -f /etc/lsbackups.conf ] && . /etc/lsbackups.conf
# file locations and other values
today=$(date +%Y%m%d%H%M%S)