Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions iiab-android
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,9 @@ install_iiaboa_dashboard() {
#-----------------------------
# Update package db + deps
#-----------------------------
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get -y -o Dpkg::Options::=--force-confold -o Dpkg::Options::=--force-confdef upgrade
apt-get install -y ca-certificates \
coreutils \
curl \
Expand Down Expand Up @@ -690,6 +692,12 @@ install_welcome_zim
# Install dashboard
install_iiaboa_dashboard

#-----------------------------
# Reclaim disk: drop downloaded .deb archives
#-----------------------------
log "Cleaning apt package cache (.deb archives) to reclaim space..."
apt-get clean

if [ -d "/sdcard/.iiab_state" ]; then
touch /sdcard/.iiab_state/flag_iiab_ready 2>/dev/null || true
fi
Expand Down
Loading