create ctl symlink if needed
This commit is contained in:
parent
038bdf2dd4
commit
6018ddd374
1 changed files with 5 additions and 1 deletions
6
ctl
6
ctl
|
@ -162,7 +162,11 @@ if [ "$1" == "init" ]; then
|
||||||
if [ ! -e "${PLATFORM_ENV}" ]; then
|
if [ ! -e "${PLATFORM_ENV}" ]; then
|
||||||
git clone --depth 1 https://git.0x2620.org/openmedialibrary_platform_${PLATFORM}.git "${PLATFORM_ENV}"
|
git clone --depth 1 https://git.0x2620.org/openmedialibrary_platform_${PLATFORM}.git "${PLATFORM_ENV}"
|
||||||
fi
|
fi
|
||||||
"$0" update_static
|
cd "${BASE}"
|
||||||
|
if [ ! -e "${BASE}/ctl" ]; then
|
||||||
|
ln -s openmedialibrary/ctl
|
||||||
|
fi
|
||||||
|
"${BASE}/ctl" update_static
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
if [ "$1" == "update" ]; then
|
if [ "$1" == "update" ]; then
|
||||||
|
|
Loading…
Reference in a new issue