mirror of
https://github.com/deajan/obackup.git
synced 2025-01-12 15:13:53 +01:00
Fixed installer stats don't include os
This commit is contained in:
parent
7eb1acd079
commit
549bb803dd
@ -6,7 +6,7 @@ PROGRAM=[prgname]
|
|||||||
PROGRAM_VERSION=[version]
|
PROGRAM_VERSION=[version]
|
||||||
PROGRAM_BINARY=$PROGRAM".sh"
|
PROGRAM_BINARY=$PROGRAM".sh"
|
||||||
PROGRAM_BATCH=$PROGRAM"-batch.sh"
|
PROGRAM_BATCH=$PROGRAM"-batch.sh"
|
||||||
SCRIPT_BUILD=2016121301
|
SCRIPT_BUILD=2016122701
|
||||||
|
|
||||||
## 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
|
||||||
@ -48,6 +48,8 @@ include #### GetLocalOS SUBSET ####
|
|||||||
function SetLocalOSSettings {
|
function SetLocalOSSettings {
|
||||||
USER=root
|
USER=root
|
||||||
|
|
||||||
|
# LOCAL_OS and LOCAL_OS_FULL are global variables set at GetLocalOS
|
||||||
|
|
||||||
case $LOCAL_OS in
|
case $LOCAL_OS in
|
||||||
*"BSD"*)
|
*"BSD"*)
|
||||||
GROUP=wheel
|
GROUP=wheel
|
||||||
@ -74,7 +76,7 @@ function SetLocalOSSettings {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
OS=$(UrlEncode "$localOsVar")
|
OS=$(UrlEncode "$LOCAL_OS_FULL")
|
||||||
}
|
}
|
||||||
|
|
||||||
function GetInit {
|
function GetInit {
|
||||||
|
Loading…
Reference in New Issue
Block a user