obosdi-pkg/install/desktop/plasma5/kdeapps/packages

60 lines
1.1 KiB
Text
Raw Normal View History

2015-08-20 14:37:06 -06:00
#!/bin/bash
. ./lib
options=()
2016-04-08 16:28:41 -06:00
package=""
items=$(pacman -Sqg $package)
2015-08-20 14:37:06 -06:00
for item in $items; do
case $item in
"dolphin" | \
"kate" | \
2015-12-20 06:16:03 -07:00
"kdialog" | \
"kfind" | \
2015-08-20 14:37:06 -06:00
"konsole" | \
"kwrite" | \
"kcron" | \
2015-12-20 06:16:03 -07:00
"ksystemlog" | \
"ark" | \
2015-08-20 14:37:06 -06:00
"kcalc" | \
"kcharselect" | \
2015-12-20 06:16:03 -07:00
"kgpg" | \
"kwalletmanager" | \
2015-08-20 14:37:06 -06:00
"print-manager" | \
2017-02-04 13:41:52 -07:00
"gwenview" | \
2020-03-09 14:14:07 -06:00
"kcolorchooser" | \
"kdegraphics-mobipocket" | \
"kdegraphics-thumbnailers" | \
"kolourpaint" | \
"okular" | \
2016-01-11 13:00:03 -07:00
"spectacle" | \
2015-12-20 06:16:03 -07:00
"audiocd-kio" | \
2020-03-09 14:14:07 -06:00
"ffmpegthumbs" | \
2015-12-20 06:16:03 -07:00
"kmix" | \
2015-08-20 14:37:06 -06:00
"kdenetwork-filesharing" | \
2015-12-20 06:16:03 -07:00
"filesharing" | \
"kio-extras" | \
"signon-kwallet-extension" | \
2020-03-09 14:14:07 -06:00
"zeroconf-ioslave" | \
"kdesdk-thumbnailers" | \
"thumbnailers") options+=("$item" "" on);;
2015-08-20 14:37:06 -06:00
*) options+=("$item" "" off);;
esac
done
sel=$(whiptail --backtitle "$apptitle" --title "$package Install :" --checklist "" --cancel-button "Back" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
exit 1
fi
for itm in $sel; do
pkg="$pkg $(echo $itm | sed 's/"//g')"
done
instpkg "$pkg" "$aurpkg"
exit 0