removed superfluous &&
This commit is contained in:
commit
9b87de4b4c
@ -2,15 +2,15 @@
|
|||||||
|
|
||||||
# install zammad
|
# install zammad
|
||||||
echo "installing zammad..."
|
echo "installing zammad..."
|
||||||
cd /tmp
|
cd /tmp || exit 1
|
||||||
git clone --depth 1 -b ${GIT_BRANCH} ${GIT_URL}
|
git clone --depth 1 -b "${GIT_BRANCH}" "${GIT_URL}"
|
||||||
cp -R /tmp/zammad/* ${ZAMMAD_DIR}
|
cp -R /tmp/zammad/* "${ZAMMAD_DIR}"
|
||||||
cp -R /tmp/zammad/.[!.]* ${ZAMMAD_DIR}
|
cp -R /tmp/zammad/.[!.]* "${ZAMMAD_DIR}"
|
||||||
cd ${ZAMMAD_DIR}
|
cd "${ZAMMAD_DIR}" || exit 1
|
||||||
rm -rf /tmp/zammad
|
rm -rf /tmp/zammad
|
||||||
bundle install --without test development mysql
|
bundle install --without test development mysql
|
||||||
contrib/packager.io/fetch_locales.rb
|
contrib/packager.io/fetch_locales.rb
|
||||||
sed -e 's#.*adapter: postgresql# adapter: nulldb#g' -e 's#.*username:.*# username: postgres#g' -e 's#.*password:.*# password: \n host: postgresql\n#g' < config/database.yml.pkgr > config/database.yml
|
sed -e 's#.*adapter: postgresql# adapter: nulldb#g' -e 's#.*username:.*# username: postgres#g' -e 's#.*password:.*# password: \n host: postgresql\n#g' < config/database.yml.pkgr > config/database.yml
|
||||||
bundle exec rake assets:precompile
|
bundle exec rake assets:precompile
|
||||||
sed -e 's#.*adapter: postgresql# adapter: postgresql#g' -e 's#.*username:.*# username: postgres#g' -e 's#.*password:.*# password: \n host: postgresql\n#g' < config/database.yml.pkgr > config/database.yml
|
sed -e 's#.*adapter: postgresql# adapter: postgresql#g' -e 's#.*username:.*# username: postgres#g' -e 's#.*password:.*# password: \n host: postgresql\n#g' < config/database.yml.pkgr > config/database.yml
|
||||||
chown -R zammad:zammad ${ZAMMAD_DIR}
|
chown -R zammad:zammad "${ZAMMAD_DIR}"
|
||||||
|
Loading…
Reference in New Issue
Block a user