owncloud: modified install.sh and uninstall.sh

added backup functionality
This commit is contained in:
Daniel Weismüller
2014-04-17 14:08:53 +02:00
committed by Michael Tremer
parent 83e8d92673
commit 21987073ff
2 changed files with 4 additions and 0 deletions

View File

@@ -23,6 +23,7 @@
#
. /opt/pakfire/lib/functions.sh
extract_files
restore_backup ${NAME}
# Fix permissions.
chmod 777 /srv/web/owncloud/apps

View File

@@ -22,6 +22,9 @@
############################################################################
#
. /opt/pakfire/lib/functions.sh
make_backup ${NAME}
remove_files
/etc/init.d/apache reload
exit 0