Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'build-devel.sh')
-rw-r--r--build-devel.sh12
1 files changed, 11 insertions, 1 deletions
diff --git a/build-devel.sh b/build-devel.sh
index 489f6bd0..b37e81e3 100644
--- a/build-devel.sh
+++ b/build-devel.sh
@@ -46,9 +46,19 @@ install()
}
-cleanup() { :; }
configure() { :; }
+cleanup()
+{
+ apt-get autoremove -y
+ apt-get clean
+ rm -rf /var/lib/apt/lists/*
+ rm -f /home/pi/.bash_history
+ systemctl disable ssh
+ rm -f /etc/udev/rules.d/90-qemu.rules
+ sudo -u www-data php /var/www/nextcloud/occ config:system:delete trusted_domains 1
+}
+
# License
#
# This script is free software; you can redistribute it and/or modify it