have to use ln with -T flag to force overwrite of existing link
parent
e61a3fae9c
commit
9d6a65abbe
|
@ -153,7 +153,7 @@ if [ "${TRAVIS_EVENT_TYPE}" == "cron" ] || [ "${TRAVIS}" != "true" ]; then
|
||||||
echo "Packpack RELEASE has been set to: ${RELEASE}"
|
echo "Packpack RELEASE has been set to: ${RELEASE}"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
ln -sf distros/redhat rpm
|
ln -sfT distros/redhat rpm
|
||||||
|
|
||||||
# The rpm specfile requires the Crud submodule folder to be empty
|
# The rpm specfile requires the Crud submodule folder to be empty
|
||||||
rm -rf web/api/app/Plugin/Crud
|
rm -rf web/api/app/Plugin/Crud
|
||||||
|
@ -187,11 +187,11 @@ if [ "${TRAVIS_EVENT_TYPE}" == "cron" ] || [ "${TRAVIS}" != "true" ]; then
|
||||||
movecrud
|
movecrud
|
||||||
|
|
||||||
if [ "${DIST}" == "trusty" ] || [ "${DIST}" == "precise" ]; then
|
if [ "${DIST}" == "trusty" ] || [ "${DIST}" == "precise" ]; then
|
||||||
ln -sf distros/ubuntu1204 debian
|
ln -sfT distros/ubuntu1204 debian
|
||||||
elif [ "${DIST}" == "wheezy" ]; then
|
elif [ "${DIST}" == "wheezy" ]; then
|
||||||
ln -sf distros/debian debian
|
ln -sfT distros/debian debian
|
||||||
else
|
else
|
||||||
ln -sf distros/ubuntu1604 debian
|
ln -sfT distros/ubuntu1604 debian
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Starting packpack..."
|
echo "Starting packpack..."
|
||||||
|
@ -210,7 +210,7 @@ elif [ "${OS}" == "ubuntu" ] && [ "${DIST}" == "trusty" ] && [ "${ARCH}" == "x86
|
||||||
setdebpkgver
|
setdebpkgver
|
||||||
movecrud
|
movecrud
|
||||||
|
|
||||||
ln -sf distros/ubuntu1204 debian
|
ln -sfT distros/ubuntu1204 debian
|
||||||
|
|
||||||
echo "Starting packpack..."
|
echo "Starting packpack..."
|
||||||
packpack/packpack
|
packpack/packpack
|
||||||
|
|
Loading…
Reference in New Issue