File tree Expand file tree Collapse file tree 1 file changed +5
-19
lines changed
Expand file tree Collapse file tree 1 file changed +5
-19
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
22
33set -ex
4- ARCH= " $( uname -m ) "
4+ EXTRA_PACKAGES= " https://raw.githubusercontent.com/pkgforge-dev/Anylinux-AppImages/refs/heads/main/useful-tools/get-debloated-pkgs.sh "
55
66echo " Installing build dependencies..."
77echo " ---------------------------------------------------------------"
8-
9- case " $ARCH " in
10- ' x86_64' ) PKG_TYPE=' x86_64.pkg.tar.zst' ;;
11- ' aarch64' ) PKG_TYPE=' aarch64.pkg.tar.xz' ;;
12- ' ' |* ) echo " Unknown arch: $ARCH " ; exit 1;;
13- esac
14-
15- LIBXML_URL=" https://github.com/pkgforge-dev/llvm-libs-debloated/releases/download/continuous/libxml2-iculess-$PKG_TYPE "
16-
178pacman -Syu --noconfirm \
189 base-devel \
1910 bison \
@@ -41,13 +32,8 @@ pacman -Syu --noconfirm \
4132 xkeyboard-config \
4233 zsync
4334
44-
45- echo " Installing debloated pckages..."
46- echo " ---------------------------------------------------------------"
47- wget --retry-connrefused --tries=30 " $LIBXML_URL " -O ./libxml2-iculess.pkg.tar.zst
48-
49- pacman -U --noconfirm ./* .pkg.tar.zst
50- rm -f ./* .pkg.tar.zst
51-
52- echo " All done!"
35+ echo " Installing debloated packages..."
5336echo " ---------------------------------------------------------------"
37+ wget --retry-connrefused --tries=30 " $EXTRA_PACKAGES " -O ./get-debloated-pkgs.sh
38+ chmod +x ./get-debloated-pkgs.sh
39+ ./get-debloated-pkgs.sh libxml2-mini gtk3-mini
You can’t perform that action at this time.
0 commit comments