obosdi-pkg/install/desktop/plasma5/kdeapps

66 lines
1.3 KiB
Text
Raw Normal View History

2015-08-20 14:37:06 -06:00
#!/bin/bash
. ./lib
options=()
items=$(pacman -Sqg kde-applications)
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" | \
"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