Update switch.sh
This commit is contained in:
parent
e7451f1e5c
commit
2422f14bb5
|
|
@ -6,7 +6,21 @@ cd "$(dirname "$0")"
|
||||||
#includes
|
#includes
|
||||||
. ./config.sh
|
. ./config.sh
|
||||||
|
|
||||||
if [ .$switch_source = .true ]; then
|
#install the package
|
||||||
|
if [ .$switch_source = "package" ]; then
|
||||||
|
#run the package install
|
||||||
|
switch/package-release.sh
|
||||||
|
|
||||||
|
#copy the switch conf files
|
||||||
|
switch/package-conf-copy.sh
|
||||||
|
|
||||||
|
#set the file permissions
|
||||||
|
switch/package-permissions.sh
|
||||||
|
fi
|
||||||
|
|
||||||
|
#install from source
|
||||||
|
if [ .$switch_source = "source" ]; then
|
||||||
|
#compile the source
|
||||||
if [ ."$switch_branch" = "master" ]; then
|
if [ ."$switch_branch" = "master" ]; then
|
||||||
switch/source-master.sh
|
switch/source-master.sh
|
||||||
else
|
else
|
||||||
|
|
@ -14,16 +28,8 @@ if [ .$switch_source = .true ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#copy the switch conf files
|
#copy the switch conf files
|
||||||
switch/conf-copy.sh
|
switch/source-conf-copy.sh
|
||||||
|
|
||||||
#set the file permissions
|
#set the file permissions
|
||||||
switch/source-permissions.sh
|
switch/source-permissions.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ .$switch_package = .true ]; then
|
|
||||||
if [ ."$switch_branch" = "master" ]; then
|
|
||||||
|
|
||||||
else
|
|
||||||
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue