Remove mate-gtk2

This commit is contained in:
MatMoul 2017-03-20 01:45:04 +01:00
parent f3434a3dda
commit 5bd896e659
3 changed files with 0 additions and 57 deletions

View file

@ -1 +0,0 @@
lightdm-gtk-greeter as optional dependencie

View file

@ -1,30 +0,0 @@
#!/bin/bash
. ./lib
options=()
options+=("mate-gtk3" "")
options+=("mate-extra-gtk3" "")
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "Mate-GTK3 Install Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
exit 1
fi
sed -i "/^defaultitem=/c\defaultitem=\"$sel\"" $0
case $sel in
'mate-gtk3')
require install/desktop/mate-gtk3/packages 755
sed -i "/^package=/c\package=\"$sel\"" install/desktop/mate-gtk3/packages
script install/desktop/mate-gtk3/packages
;;
'mate-extra-gtk3')
require install/desktop/mate-gtk3/packages 755
sed -i "/^package=/c\package=\"$sel\"" install/desktop/mate-gtk3/packages
script install/desktop/mate-gtk3/packages
;;
esac
exit 0

View file

@ -1,26 +0,0 @@
#!/bin/bash
. ./lib
options=()
package=""
items=$(pacman -Sqg $package)
for item in $items; do
options+=("$item" "" on)
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