mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 10:04:41 +00:00
firmware: also clean downloaded packages after install
This commit is contained in:
parent
783363d0ba
commit
e40c87ca6a
@ -44,6 +44,7 @@ echo
|
||||
# upgrade all packages if possible
|
||||
pkg upgrade -y
|
||||
pkg autoremove -y
|
||||
pkg clean -y
|
||||
|
||||
echo
|
||||
|
||||
|
||||
@ -42,6 +42,7 @@ if [ -z "$pkg_running" ]; then
|
||||
# update all installed packages
|
||||
pkg upgrade -y >> ${PKG_PROGRESS_FILE}
|
||||
pkg autoremove -y >> ${PKG_PROGRESS_FILE}
|
||||
pkg clean -y >> ${PKG_PROGRESS_FILE}
|
||||
# restart the web server
|
||||
/usr/local/etc/rc.restart_webgui >> ${PKG_PROGRESS_FILE}
|
||||
# if we can update base, we'll do that as well
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user