Compare commits

..

1 Commits

Author SHA1 Message Date
6127283c37
ADD: divided application and configuration directory 2021-06-05 13:32:08 +02:00

View File

@ -26,14 +26,8 @@ if [ ! -e /home/wikindx/config.php ]; then
echo "created" echo "created"
fi fi
# make sure application is unpacked
if [ ! -e /var/www/html/wikindx/index.php ]; then
cd /var/www/html
tar jxf wikindx.tar.bz2
fi
# make sure configuration file is linked to application directory # make sure configuration file is linked to application directory
if [ ! -e /var/www/html/wikindx/config.php ]; then if [ ! -e /var/www/html/config.php ]; then
echo "No link to configuration found in application directory ..." echo "No link to configuration found in application directory ..."
ln -s /home/wikindx/config.php /var/www/html/wikindx/config.php ln -s /home/wikindx/config.php /var/www/html/wikindx/config.php
chown -R www-data.www-data /var/www/html/wikindx chown -R www-data.www-data /var/www/html/wikindx