mirror of
https://github.com/deajan/obackup.git
synced 2024-11-15 04:03:41 +01:00
Simple quote FILE_SIZE_LIST contents
This commit is contained in:
parent
3dc0fb8aec
commit
9a43145dc1
@ -10,7 +10,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=2020031502
|
SCRIPT_BUILD=2020042901
|
||||||
INSTANCE_ID="installer-$SCRIPT_BUILD"
|
INSTANCE_ID="installer-$SCRIPT_BUILD"
|
||||||
|
|
||||||
## osync / obackup / pmocr / zsnap install script
|
## osync / obackup / pmocr / zsnap install script
|
||||||
@ -44,6 +44,7 @@ include #### GenericTrapQuit SUBSET ####
|
|||||||
|
|
||||||
function SetLocalOSSettings {
|
function SetLocalOSSettings {
|
||||||
USER=root
|
USER=root
|
||||||
|
DO_INIT=true
|
||||||
|
|
||||||
# LOCAL_OS and LOCAL_OS_FULL are global variables set at GetLocalOS
|
# LOCAL_OS and LOCAL_OS_FULL are global variables set at GetLocalOS
|
||||||
|
|
||||||
@ -53,10 +54,12 @@ function SetLocalOSSettings {
|
|||||||
;;
|
;;
|
||||||
*"MacOSX"*)
|
*"MacOSX"*)
|
||||||
GROUP=admin
|
GROUP=admin
|
||||||
|
DO_INIT=false
|
||||||
;;
|
;;
|
||||||
*"msys"*|*"Cygwin"*)
|
*"Cygwin"*|*"Android"*|*"msys"*|*"BusyBox"*)
|
||||||
USER=""
|
USER=""
|
||||||
GROUP=""
|
GROUP=""
|
||||||
|
DO_INIT=false
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
GROUP=root
|
GROUP=root
|
||||||
@ -410,7 +413,11 @@ umask 0022
|
|||||||
|
|
||||||
GetLocalOS
|
GetLocalOS
|
||||||
SetLocalOSSettings
|
SetLocalOSSettings
|
||||||
|
# On Mac OS this always produces a warning which causes the installer to fail with exit code 2
|
||||||
|
# Since we know it won't work anyway, and that's fine, just skip this step
|
||||||
|
if $DO_INIT; then
|
||||||
GetInit
|
GetInit
|
||||||
|
fi
|
||||||
|
|
||||||
STATS_LINK="http://instcount.netpower.fr?program=$PROGRAM&version=$PROGRAM_VERSION&os=$OS&action=$ACTION"
|
STATS_LINK="http://instcount.netpower.fr?program=$PROGRAM&version=$PROGRAM_VERSION&os=$OS&action=$ACTION"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user