Remove multilib dependency for pacman gui
This commit is contained in:
parent
aec0d0aa22
commit
670fa3198d
1 changed files with 0 additions and 11 deletions
|
@ -15,23 +15,12 @@ for itm in $sel; do
|
||||||
case $itm in
|
case $itm in
|
||||||
'"octopi"' | \
|
'"octopi"' | \
|
||||||
'"pamac-aur"')
|
'"pamac-aur"')
|
||||||
multilib="true"
|
|
||||||
aurpkg="$aurpkg $(echo $itm | sed 's/"//g')"
|
aurpkg="$aurpkg $(echo $itm | sed 's/"//g')"
|
||||||
;;
|
;;
|
||||||
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
|
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
|
||||||
esac
|
esac
|
||||||
done
|
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"
|
instpkg "$pkg" "$aurpkg"
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in a new issue