From 1ac956234a8b8031b3fe4b5bb2ddf5bf12aa6922 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Tue, 22 Jan 2019 21:08:05 +0000 Subject: LinHES-system: lh_system_restore_job: fix usage message --- abs/core/LinHES-system/PKGBUILD | 4 ++-- abs/core/LinHES-system/lh_system_backup_job | 0 abs/core/LinHES-system/lh_system_restore_job | 12 +++++++----- 3 files changed, 9 insertions(+), 7 deletions(-) mode change 100644 => 100755 abs/core/LinHES-system/lh_system_backup_job mode change 100644 => 100755 abs/core/LinHES-system/lh_system_restore_job diff --git a/abs/core/LinHES-system/PKGBUILD b/abs/core/LinHES-system/PKGBUILD index 348996b..c8d01b3 100755 --- a/abs/core/LinHES-system/PKGBUILD +++ b/abs/core/LinHES-system/PKGBUILD @@ -1,6 +1,6 @@ pkgname=LinHES-system pkgver=8.5.2 -pkgrel=3 +pkgrel=4 arch=('x86_64') install=system.install pkgdesc="Everything that makes LinHES an automated system" @@ -99,7 +99,7 @@ md5sums=('c6e6b83a1f4c35ef4501e277657ab2ac' '3edef50a49a47694bf8add39cc160add' '01cbbf411d2a585feb71f2881755e5d8' 'f421f670a9c74724037f70d1dabcad00' - 'bc69a520add58ede9b060c73e67ace13' + 'eab2d188992b1ac561e0ba968544d7a3' '74e17d6f7453c52d56fecaed5c3f6ad5' '47e093e8cfe4b5b96602358e1f540832' '727a886a1ba237906f48cda2e4e7844b' diff --git a/abs/core/LinHES-system/lh_system_backup_job b/abs/core/LinHES-system/lh_system_backup_job old mode 100644 new mode 100755 diff --git a/abs/core/LinHES-system/lh_system_restore_job b/abs/core/LinHES-system/lh_system_restore_job old mode 100644 new mode 100755 index da7dbca..f39aeaa --- a/abs/core/LinHES-system/lh_system_restore_job +++ b/abs/core/LinHES-system/lh_system_restore_job @@ -17,8 +17,9 @@ function usage(){ echo "------------------------------------------------------" echo "This program will restore the database from a system backup." - echo "Files are expected to be in the $BACKUPDIR" - echo "usage:" + echo "System backup files are expected to be in the $BACKUPDIR" + echo "" + echo "Usage:" echo "" echo "lh_system_restore_job \$filename [cleanup partial]" echo "" @@ -26,9 +27,10 @@ function usage(){ echo "" echo "" - echo "If the script is called with cleanup, it will cleanup the the restore dir." - echo "If the script is called with restore, it will restore the dir, and then copy back some settings." - echo " It's intended to be used with restoring R7 databases only" + echo "If the script is called with cleanup, it will cleanup the restore dir." + echo "If the script is called with partial, it will restore the db," + echo " and then copy back some settings." + echo " partial is intended to be used to restore R7 databases only." echo "------------------------------------------------------" exit 1 -- cgit v0.12