]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - lfs/apache2
LAyout changes gui.cgi
[people/teissler/ipfire-2.x.git] / lfs / apache2
index c3d91560290eb02afdf3272d37899dbe0a63600f..50c94a638c6752abe0a4a1719b8a1f007bf2f8f3 100644 (file)
@@ -98,6 +98,10 @@ ifeq "$(PASS)" "C"
        chmod -R 755 /srv/web/ipfire/cgi-bin
        chmod -R 644 /srv/web/ipfire/html
        chmod 755 /srv/web/ipfire/html /srv/web/ipfire/html/{index.cgi,redirect.cgi,dial.cgi,images,include,themes,themes/*,themes/*/*}
+       ln -svf ipfire /srv/web/ipfire/html/themes/ipfire-rounded
+
+       # Reset permissions of redirect templates and theme directories
+       find /srv/web/ipfire/html/{redirect-templates,themes} -type d | xargs chmod -v 755
 else
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && patch -Np1 -i $(DIR_DL)/httpd-2.2.2-config-1.patch