mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
add cleanup to remote-update
This commit is contained in:
parent
2877a2826d
commit
5977684cc0
@ -17,9 +17,18 @@
|
||||
|
||||
install() { ncp-update; }
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
|
||||
# License
|
||||
#
|
||||
# This script is free software; you can redistribute it and/or modify it
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user