forked from norman/fusionpbx-install.sh-github-mirror
Update switch.sh
This commit is contained in:
24
debian/resources/switch.sh
vendored
24
debian/resources/switch.sh
vendored
@@ -8,42 +8,42 @@ cd "$(dirname "$0")"
|
|||||||
|
|
||||||
if [ .$switch_source = .true ]; then
|
if [ .$switch_source = .true ]; then
|
||||||
if [ ."$switch_branch" = "master" ]; then
|
if [ ."$switch_branch" = "master" ]; then
|
||||||
resources/switch/source-master.sh
|
switch/source-master.sh
|
||||||
else
|
else
|
||||||
resources/switch/source-release.sh
|
switch/source-release.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#copy the switch conf files to /etc/freeswitch
|
#copy the switch conf files to /etc/freeswitch
|
||||||
resources/switch/conf-copy.sh
|
switch/conf-copy.sh
|
||||||
|
|
||||||
#set the file permissions
|
#set the file permissions
|
||||||
resources/switch/source-permissions.sh
|
switch/source-permissions.sh
|
||||||
|
|
||||||
#systemd service
|
#systemd service
|
||||||
resources/switch/source-systemd.sh
|
switch/source-systemd.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ .$switch_package = .true ]; then
|
if [ .$switch_package = .true ]; then
|
||||||
if [ ."$switch_branch" = "master" ]; then
|
if [ ."$switch_branch" = "master" ]; then
|
||||||
if [ .$switch_package_all = .true ]; then
|
if [ .$switch_package_all = .true ]; then
|
||||||
resources/switch/package-master-all.sh
|
switch/package-master-all.sh
|
||||||
else
|
else
|
||||||
resources/switch/package-master.sh
|
switch/package-master.sh
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if [ .$switch_package_all = .true ]; then
|
if [ .$switch_package_all = .true ]; then
|
||||||
resources/switch/package-all.sh
|
switch/package-all.sh
|
||||||
else
|
else
|
||||||
resources/switch/package-release.sh
|
switch/package-release.sh
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#copy the switch conf files to /etc/freeswitch
|
#copy the switch conf files to /etc/freeswitch
|
||||||
resources/switch/conf-copy.sh
|
switch/conf-copy.sh
|
||||||
|
|
||||||
#set the file permissions
|
#set the file permissions
|
||||||
resources/switch/package-permissions.sh
|
switch/package-permissions.sh
|
||||||
|
|
||||||
#systemd service
|
#systemd service
|
||||||
resources/switch/package-systemd.sh
|
switch/package-systemd.sh
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user