Skip to content

Commit

Permalink
piratebox init: content symlink is not created.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
MaStr committed Oct 5, 2016
1 parent 9128647 commit d29df45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 3 additions & 0 deletions piratebox/piratebox/bin/install_piratebox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d29df45

Please sign in to comment.