Skip to content

Commit

Permalink
Add remove package
Browse files Browse the repository at this point in the history
  • Loading branch information
ophub committed Apr 30, 2022
1 parent d853840 commit bd65b24
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build-armbian/common-files/rootfs/usr/sbin/armbian-fix
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,8 @@
[ -n "$(dpkg -l | grep linux-image-edge-meson64)" ] && sudo apt-get -qq purge -y linux-image-edge-meson64 && echo "Remove linux-image-edge-meson64"
[ -n "$(dpkg -l | grep linux-image-current-meson64)" ] && sudo apt-get -qq purge -y linux-image-current-meson64 && echo "Remove linux-image-current-meson64"
[ -n "$(dpkg -l | grep linux-image-legacy-meson64)" ] && sudo apt-get -qq purge -y linux-image-legacy-meson64 && echo "Remove linux-image-legacy-meson64"
[ -n "$(dpkg -l | grep linux-dtb-edge-meson64)" ] && sudo apt-get -qq purge -y linux-dtb-edge-meson64 && echo "Remove linux-dtb-edge-meson64"
[ -n "$(dpkg -l | grep linux-dtb-current-meson64)" ] && sudo apt-get -qq purge -y linux-dtb-current-meson64 && echo "Remove linux-dtb-current-meson64"
[ -n "$(dpkg -l | grep linux-dtb-legacy-meson64)" ] && sudo apt-get -qq purge -y linux-dtb-legacy-meson64 && echo "Remove linux-dtb-legacy-meson64"

echo "armbian-fix: Loading finished."
sync && echo "armbian-fix: Loading finished."

0 comments on commit bd65b24

Please sign in to comment.