Fixed typo
This commit is contained in:
parent
d270e72718
commit
0ef67b1dda
|
@ -8,7 +8,7 @@ PROGRAM_BINARY=$PROGRAM".sh"
|
||||||
PROGRAM_BATCH=$PROGRAM"-batch.sh"
|
PROGRAM_BATCH=$PROGRAM"-batch.sh"
|
||||||
SSH_FILTER="ssh_filter.sh"
|
SSH_FILTER="ssh_filter.sh"
|
||||||
|
|
||||||
SCRIPT_BUILD=2017021001
|
SCRIPT_BUILD=2017021002
|
||||||
|
|
||||||
## osync / obackup / pmocr / zsnap install script
|
## osync / obackup / pmocr / zsnap install script
|
||||||
## Tested on RHEL / CentOS 6 & 7, Fedora 23, Debian 7 & 8, Mint 17 and FreeBSD 8, 10 and 11
|
## Tested on RHEL / CentOS 6 & 7, Fedora 23, Debian 7 & 8, Mint 17 and FreeBSD 8, 10 and 11
|
||||||
|
@ -258,7 +258,7 @@ function RemoveFile {
|
||||||
function RemoveAll {
|
function RemoveAll {
|
||||||
RemoveFile "$BIN_DIR/$PROGRAM_BINARY"
|
RemoveFile "$BIN_DIR/$PROGRAM_BINARY"
|
||||||
RemoveFile "$BIN_DIR/$PROGRAM_BATCH"
|
RemoveFile "$BIN_DIR/$PROGRAM_BATCH"
|
||||||
if [ ! -f "$BIN_DIR/osync.sh" ] && [ -f "$BIN_DIR/obackup.sh" ]; then
|
if [ ! -f "$BIN_DIR/osync.sh" ] && [ ! -f "$BIN_DIR/obackup.sh" ]; then # Check if any other program requiring ssh filter is present before removal
|
||||||
RemoveFile "$BIN_DIR/$SSH_FILTER"
|
RemoveFile "$BIN_DIR/$SSH_FILTER"
|
||||||
else
|
else
|
||||||
QuickLogger "Skipping removal of [$BIN_DIR/$SSH_FILTER] because other programs present that need it."
|
QuickLogger "Skipping removal of [$BIN_DIR/$SSH_FILTER] because other programs present that need it."
|
||||||
|
|
Loading…
Reference in New Issue