Add KDE apps sub menu
This commit is contained in:
parent
55ff599c39
commit
3283ebbd81
1 changed files with 0 additions and 67 deletions
|
@ -1,67 +0,0 @@
|
|||
#!/bin/bash
|
||||
. ./lib
|
||||
|
||||
options=()
|
||||
|
||||
package=""
|
||||
items=$(pacman -Sqg $package)
|
||||
for item in $items; do
|
||||
case $item in
|
||||
"dolphin" | \
|
||||
"kate" | \
|
||||
"kdebase-kdepasswd" | \
|
||||
"kdepasswd" | \
|
||||
"kdebase-kdialog" | \
|
||||
"kdialog" | \
|
||||
"kdebase-kfind" | \
|
||||
"kfind" | \
|
||||
"konsole" | \
|
||||
"kwrite" | \
|
||||
"kcron" | \
|
||||
"kdeadmin-kuser" | \
|
||||
"kuser" | \
|
||||
"ksystemlog" | \
|
||||
"ark" | \
|
||||
"kcalc" | \
|
||||
"kcharselect" | \
|
||||
"kdeutils-kgpg" | \
|
||||
"kgpg" | \
|
||||
"kwalletmanager" | \
|
||||
"print-manager" | \
|
||||
"kdegraphics-okular" | \
|
||||
"okular" | \
|
||||
"spectacle" | \
|
||||
"kmix" | \
|
||||
"kdemultimedia-audiocd-kio" | \
|
||||
"audiocd-kio" | \
|
||||
"kdemultimedia-kmix" | \
|
||||
"kmix" | \
|
||||
"kdemultimedia-mplayerthumbs" | \
|
||||
"mplayerthumbs" | \
|
||||
"kdenetwork-filesharing" | \
|
||||
"filesharing" | \
|
||||
"kdenetwork-zeroconf-ioslave" | \
|
||||
"zeroconf-ioslave" | \
|
||||
"kio-extras" | \
|
||||
"signon-kwallet-extension" | \
|
||||
"thumbnailers" | \
|
||||
"kdesdk-thumbnailers") options+=("$item" "" on);;
|
||||
*) 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
|
Loading…
Reference in a new issue