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

69 lines
1.4 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" | \
"kdebase-kdepasswd" | \
2015-12-20 06:16:03 -07:00
"kdepasswd" | \
2015-08-20 14:37:06 -06:00
"kdebase-kdialog" | \
2015-12-20 06:16:03 -07:00
"kdialog" | \
2015-08-20 14:37:06 -06:00
"kdebase-kfind" | \
2015-12-20 06:16:03 -07:00
"kfind" | \
2015-08-20 14:37:06 -06:00
"konsole" | \
"kwrite" | \
"kcron" | \
"kdeadmin-kuser" | \
2015-12-20 06:16:03 -07:00
"kuser" | \
"ksystemlog" | \
"ark" | \
2015-08-20 14:37:06 -06:00
"kcalc" | \
"kcharselect" | \
2015-12-20 06:16:03 -07:00
"kdeutils-kgpg" | \
"kgpg" | \
"kwalletmanager" | \
2015-08-20 14:37:06 -06:00
"print-manager" | \
"kdegraphics-okular" | \
2015-12-20 06:16:03 -07:00
"okular" | \
2017-02-04 13:41:52 -07:00
"gwenview" | \
2016-01-11 13:00:03 -07:00
"spectacle" | \
2015-12-20 06:16:03 -07:00
"kmix" | \
2015-08-20 14:37:06 -06:00
"kdemultimedia-audiocd-kio" | \
2015-12-20 06:16:03 -07:00
"audiocd-kio" | \
"kdemultimedia-kmix" | \
"kmix" | \
2015-08-20 14:37:06 -06:00
"kdemultimedia-mplayerthumbs" | \
2015-12-20 06:16:03 -07:00
"mplayerthumbs" | \
2015-08-20 14:37:06 -06:00
"kdenetwork-filesharing" | \
2015-12-20 06:16:03 -07:00
"filesharing" | \
2015-08-20 14:37:06 -06:00
"kdenetwork-zeroconf-ioslave" | \
2015-12-20 06:16:03 -07:00
"zeroconf-ioslave" | \
"kio-extras" | \
"signon-kwallet-extension" | \
"thumbnailers" | \
"kdesdk-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