Skip to content

Commit

Permalink
Changes [build image]
Browse files Browse the repository at this point in the history
  • Loading branch information
Electroid committed Nov 13, 2024
1 parent 211b3cd commit 449a9a4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,12 @@ check_package_manager() {
print "Updating package manager..."
case "$pm" in
apt)
lock_paths="/var/lib/apt/lists/lock /var/cache/apt/archives/lock"
for lock_path in $lock_paths; do
if [ -f "$lock_path" ]; then
execute_sudo rm -f "$lock_path"
fi
done
package_manager update -y
;;
apk)
Expand Down

0 comments on commit 449a9a4

Please sign in to comment.