Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Build a custom array of depends based on what DE is installed
- if [ `which kdeinit4 2> /dev/null` ]; then
- # KDE
- depends=( ${depends[@]} 'xorg-utils' 'pyqt' 'kdebindings-python')
- _type=( ${_type[@]} kde4 )
- fi
- if [ `which gnome-session 2> /dev/null` ]; then
- # Gnome
- depends=( ${depends[@]} 'pygtk' 'python-notify' 'gnome-python' 'meld' )
- _type=( ${_type[@]} gnome )
- else
- # Default to Gnome (less deps for users without KDE or Gnome)
- depends=( ${depends[@]} 'pygtk' 'python-notify' 'gnome-python' 'meld' )
- _type=( ${_type[@]} gnome )
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement