piratebox init: content symlink is not created.
If a content folder is already available, the symlink pointing to that folder is not created. This results in an issue that upgrades from 1.1.x to 1.1.x end up in a redirect loop in the browser.
This commit is contained in:
parent
9128647a4a
commit
d29df45de9
|
@ -1,5 +1,8 @@
|
|||
CHANGELOG
|
||||
|
||||
=== 1.1.2 ===
|
||||
* [Fix] Upgrade 1.1.x - 1.1.x does not create content symlink
|
||||
|
||||
=== 1.1.1 ===
|
||||
* [Fix] Translation en,fr LibraryBox -> PirateBox
|
||||
* [Fix] Spellings in translation
|
||||
|
|
|
@ -83,6 +83,9 @@ if [ $2 = 'part2' ] ; then
|
|||
|
||||
[ ! -L $PIRATEBOX_FOLDER/www/board ] && ln -s $PIRATEBOX_FOLDER/share/board $PIRATEBOX_FOLDER/www/board
|
||||
[ ! -L $PIRATEBOX_FOLDER/www/Shared ] && ln -s $UPLOADFOLDER $PIRATEBOX_FOLDER/www/Shared
|
||||
[ ! -L $PIRATEBOX_FOLDER/www/content ] && \
|
||||
ln -s $WWW_CONTENT $WWW_FOLDER/content
|
||||
|
||||
fi
|
||||
|
||||
#Install the image-board
|
||||
|
|
Loading…
Reference in New Issue