install2: do not remove library without dependencies

Because of this gawk does not work on loongarch64, and because of
it does not work alterator-dump-desktop.
Сan not remove libraries without dependencies, this is fraught with
miracles.
This commit is contained in:
Anton Midyukov 2023-08-02 11:26:38 +07:00
parent b0b9a607d2
commit ba6e9b9eeb

View File

@ -22,14 +22,12 @@ rm -rf /usr/share/awk/
# save VNC install if present
MORE=
[ -x /usr/bin/x11vnc ] || MORE="libGL libEGL libgbm libwayland\\* xterm"
[ -x /usr/bin/x11vnc ] || MORE="xterm"
### could it be handled with any grace?
rpmquery -a common-licenses \
cpp\* gcc\* perl-base file ipv6calc \
bind-utils libbind \
libmpfr\* libmpc\* \
libsoup\* \
bind-utils \
$MORE glxinfo xdriinfo \
xdg-utils \
mkfontscale mkfontdir \