mirror of
https://github.com/PirateBox-Dev/PirateBoxScripts_Webserver.git
synced 2023-12-14 07:22:58 +01:00
install_piratebox.sh : fix distribute directory listing files
Do not distribute custom directory listing files during init if that was disabled in piratebox.conf. This is needed for customization.
This commit is contained in:
parent
cf0869f2c2
commit
89165c03a7
|
@ -66,7 +66,9 @@ if [ $2 = 'part2' ] ; then
|
|||
mkdir -p $PIRATEBOX_FOLDER/tmp
|
||||
|
||||
#Distribute the Directory Listing files
|
||||
$PIRATEBOX_FOLDER/bin/distribute_files.sh $SHARE_FOLDER/Shared true
|
||||
if [ "$CUSTOM_DIRLIST_COPY" = "yes" ] ; then
|
||||
$PIRATEBOX_FOLDER/bin/distribute_files.sh $SHARE_FOLDER/Shared true
|
||||
fi
|
||||
#Set permissions
|
||||
chown $LIGHTTPD_USER:$LIGHTTPD_GROUP $PIRATEBOX_FOLDER/share -R
|
||||
chmod u+rw $PIRATEBOX_FOLDER/share
|
||||
|
|
Loading…
Reference in a new issue