mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-12 04:05:53 +02:00
owncloud: modified install.sh and uninstall.sh
added backup functionality
This commit is contained in:
committed by
Michael Tremer
parent
83e8d92673
commit
21987073ff
@@ -23,6 +23,7 @@
|
||||
#
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
extract_files
|
||||
restore_backup ${NAME}
|
||||
|
||||
# Fix permissions.
|
||||
chmod 777 /srv/web/owncloud/apps
|
||||
|
||||
@@ -22,6 +22,9 @@
|
||||
############################################################################
|
||||
#
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
make_backup ${NAME}
|
||||
remove_files
|
||||
|
||||
/etc/init.d/apache reload
|
||||
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user