Plasma5 : Full remove kde-l10n

This commit is contained in:
MatMoul 2018-08-24 20:36:34 +02:00
parent 48be217a19
commit 6ced66b727
2 changed files with 0 additions and 26 deletions

View file

@ -1,24 +0,0 @@
#!/bin/bash
. ./lib
options=()
items=$(pacman -Ssq kde-l10n-)
for item in $items; do
options+=("$item" "" off)
done
sel=$(whiptail --backtitle "$apptitle" --title "PLASMA localisations :" --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

View file

@ -5,7 +5,6 @@ options=()
options+=("Plasma Packages" "") options+=("Plasma Packages" "")
options+=("KDE Applications" "") options+=("KDE Applications" "")
options+=("Complements" "") options+=("Complements" "")
#options+=("Localisations" "(AUR) kde-l10n-")
defaultitem="" defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "Plasma5 Install Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \ sel=$(whiptail --backtitle "$apptitle" --title "Plasma5 Install Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
@ -18,7 +17,6 @@ sed -i "/^defaultitem=/c\defaultitem=\"$sel\"" $0
case $sel in case $sel in
'Plasma Packages') script install/desktop/plasma5/plasma-packages;; 'Plasma Packages') script install/desktop/plasma5/plasma-packages;;
'Localisations') script install/desktop/plasma5/localisations;;
'KDE Applications') menu install/desktop/plasma5/kdeapps/menu;; 'KDE Applications') menu install/desktop/plasma5/kdeapps/menu;;
'Complements') script install/desktop/plasma5/complements;; 'Complements') script install/desktop/plasma5/complements;;
esac esac