Revize 50f12d97
Přidáno uživatelem Ondřej Fibich před asi 9 roky(ů)
application/vendors/deb/freenetis/debianization.sh | ||
---|---|---|
# remove hidden
|
||
rm -rf usr/share/${NAME}/.htaccess
|
||
rm -rf usr/share/${NAME}/config.php
|
||
rm -rf usr/share/${NAME}/upload/*
|
||
rm -rf usr/share/${NAME}/upload
|
||
rm -rf usr/share/${NAME}/logs
|
||
rm -rf usr/share/${NAME}/doc
|
||
rm -rf usr/share/${NAME}/tests
|
application/vendors/deb/freenetis/postinst | ||
---|---|---|
|
||
# 0) Access rights to some directories
|
||
chmod ugo+w /usr/share/freenetis
|
||
chmod ugo+w /usr/share/freenetis/upload
|
||
mkdir -m 0777 /usr/share/freenetis/upload 2>/dev/null || true
|
||
mkdir -m 0777 /usr/share/freenetis/logs 2>/dev/null || true
|
||
|
||
# 1) Apache config
|
Také k dispozici: Unified diff
DEB upload directory fix.