Compare commits
1 Commits
6127283c37
...
b98fdcfd76
Author | SHA1 | Date | |
---|---|---|---|
b98fdcfd76 |
@ -26,8 +26,14 @@ if [ ! -e /home/wikindx/config.php ]; then
|
||||
echo "created"
|
||||
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
|
||||
if [ ! -e /var/www/html/config.php ]; then
|
||||
if [ ! -e /var/www/html/wikindx/config.php ]; then
|
||||
echo "No link to configuration found in application directory ..."
|
||||
ln -s /home/wikindx/config.php /var/www/html/wikindx/config.php
|
||||
chown -R www-data.www-data /var/www/html/wikindx
|
||||
|
Loading…
Reference in New Issue
Block a user