fusionpbx-install.sh/freebsd/resources/switch.sh

30 lines
463 B
Bash
Raw Normal View History

#!/bin/sh
#move to script directory so all relative paths work
cd "$(dirname "$0")"
#includes
. ./config.sh
if [ .$switch_source = .true ]; then
if [ ."$switch_branch" = "master" ]; then
switch/source-master.sh
else
switch/source-release.sh
fi
#copy the switch conf files
switch/conf-copy.sh
#set the file permissions
switch/source-permissions.sh
fi
if [ .$switch_package = .true ]; then
if [ ."$switch_branch" = "master" ]; then
2017-03-25 19:52:37 +01:00
else
2017-03-25 19:52:37 +01:00
fi
fi