From 670fa3198df216b46691ba07e1608a5743bbd758 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Sun, 22 Jul 2018 22:35:32 +0200 Subject: [PATCH] Remove multilib dependency for pacman gui --- install/apps/pacmangui/pacmangui | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/install/apps/pacmangui/pacmangui b/install/apps/pacmangui/pacmangui index 4c2c742..dc428f4 100644 --- a/install/apps/pacmangui/pacmangui +++ b/install/apps/pacmangui/pacmangui @@ -15,23 +15,12 @@ for itm in $sel; do case $itm in '"octopi"' | \ '"pamac-aur"') - multilib="true" aurpkg="$aurpkg $(echo $itm | sed 's/"//g')" ;; *) pkg="$pkg $(echo $itm | sed 's/"//g')";; esac done -if [ "$multilib" = "true" ]; then - if ( confirm "To install this or these packages, multilib repo is requires.\nFor this, the script edit the [mulilib] part in /etc/pacman.conf and run pacman -Syu\n\nEnable multilib repo ?" ) then - sed -i '/\[multilib\]/s/^#//g' /etc/pacman.conf - sed -i '/\[multilib\]/{n;s/^#//g}' /etc/pacman.conf - pacman -Syu - else - exit 1 - fi -fi - instpkg "$pkg" "$aurpkg" exit 0