mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
remove installed packages from package cache
This commit is contained in:
parent
c9033eba4a
commit
9c8947008b
1 changed files with 6 additions and 0 deletions
|
@ -264,6 +264,12 @@ _launch_xfce() {
|
|||
_cleanup_xfce
|
||||
done
|
||||
fi
|
||||
# remove installed packages, to get more RAM free
|
||||
_RM_PACKAGE="xorg xfce4 chromium llvm-libs mesa ffmpeg"
|
||||
for i in ${_RM_PACKAGE}; do
|
||||
rm -f /var/cache/pacman/pkg/"${i}"-*
|
||||
done
|
||||
rm /var/cache/pacman/pkg
|
||||
# fix locale
|
||||
echo "Fix locale ..."
|
||||
sed -i -e 's:#C.UTF-8 UTF-8:C.UTF-8 UTF-8:g' "${1}/etc/locale.gen"
|
||||
|
|
Loading…
Reference in a new issue