Clean LXDE code
This commit is contained in:
parent
3a566dae80
commit
b79ec9f5b2
2 changed files with 4 additions and 10 deletions
|
@ -3,13 +3,12 @@
|
|||
|
||||
options=()
|
||||
|
||||
package=""
|
||||
items=$(pacman -Sqg $package)
|
||||
items=$(pacman -Sqg lxde)
|
||||
for item in $items; do
|
||||
options+=("$item" "" on)
|
||||
done
|
||||
|
||||
sel=$(whiptail --backtitle "$apptitle" --title "$package Install :" --checklist "" --cancel-button "Back" 0 0 0 \
|
||||
sel=$(whiptail --backtitle "$apptitle" --title "LXDE Install :" --checklist "" --cancel-button "Back" 0 0 0 \
|
||||
"${options[@]}" \
|
||||
3>&1 1>&2 2>&3)
|
||||
|
||||
|
@ -25,7 +24,7 @@ instpkg "$pkg" "$aurpkg"
|
|||
|
||||
for itm in $sel; do
|
||||
case $itm in
|
||||
'lxdm') svcenable lxdm;;
|
||||
'"lxdm"') svcenable lxdm;;
|
||||
esac
|
||||
done
|
||||
|
||||
|
|
|
@ -30,12 +30,7 @@ case $sel in
|
|||
'Gnome') menu install/desktop/gnome/menu;;
|
||||
'Plasma5') menu install/desktop/plasma5/menu;;
|
||||
'Cinnamon') script install/desktop/cinnamon/packages;;
|
||||
'LXDE')
|
||||
require install/desktop/lxde/packages 755
|
||||
sed -i "/^package=/c\package=\"lxde\"" install/desktop/lxde/packages
|
||||
script install/desktop/lxde/packages
|
||||
svcenable lxdm
|
||||
;;
|
||||
'LXDE') script install/desktop/lxde/packages;;
|
||||
'LXQt') menu install/desktop/lxqt/menu;;
|
||||
'Mate') menu install/desktop/mate/menu;;
|
||||
'Enlightenment') script install/desktop/enlightenment/packages;;
|
||||
|
|
Loading…
Reference in a new issue