Cleanup download folder after upgrade
This commit is contained in:
parent
dbc601dcc7
commit
faf5494c49
|
@ -1002,6 +1002,8 @@ if [ -f /etc/apt/trusted.gpg.d/microsoft.gpg ]; then
|
||||||
rm /etc/apt/trusted.gpg.d/microsoft.gpg
|
rm /etc/apt/trusted.gpg.d/microsoft.gpg
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
rm -rf /opt/download
|
||||||
|
mkdir -p /opt/download
|
||||||
|
|
||||||
# Clean apt-cache
|
# Clean apt-cache
|
||||||
apt-get clean
|
apt-get clean
|
||||||
|
|
|
@ -879,6 +879,12 @@ if [ $IS_ROCKPRO64 = 1 ]; then
|
||||||
systemctl enable fan_control
|
systemctl enable fan_control
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Random Cleanup
|
||||||
|
rm -rf /opt/download
|
||||||
|
mkdir -p /opt/download
|
||||||
|
|
||||||
|
# Clean apt-cache
|
||||||
|
apt-get clean
|
||||||
|
|
||||||
# Setup myNode Startup Script
|
# Setup myNode Startup Script
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
|
|
Loading…
Reference in New Issue
Block a user