Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- URL="git://git.xfce.org/xfce"
- for i in xfce4-dev-tools libxfce4util xfconf libxfce4ui libxfce4gui \
- garcon exo xfce4-panel thunar gtk-xfce-engine installit libfrap \
- xfwm4 thunar-desktop-plugin thunar-vfs thunar-volman tumbler \
- xfce-installers xfce-utils xfce4-appfinder xfce4-docs \
- xfce4-power-manager xfce4-session xfce4-settings xfdesktop
- do
- echo "Checking component ${i}"
- if [ -d $i ]
- then
- cd $i
- git pull
- if [ $? -ne 0 ]
- then
- echo "Pull of component ${i} failed!"
- exit 1
- fi
- cd ..
- else
- git clone "${URL}/$i"
- if [ $? -ne 0 ]
- then
- echo "Clone of component ${i} failed!"
- exit 1
- fi
- fi
- done
- echo "Checkout done!"
- echo "Password:"
- stty -echo
- read password
- stty echo
- for i in xfce4-dev-tools libxfce4util xfconf libxfce4ui libxfce4gui
- garcon exo xfce4-panel thunar gtk-xfce-engine libfrap xfwm4 \
- thunar-vfs thunar-volman tumbler xfce-installers xfce-utils \
- xfce4-appfinder xfce4-power-manager xfce4-session xfce4-settings \
- xfdesktop
- do
- echo "Installing component ${i}"
- cd $i
- PKG_CONFIG_PATH="/usr/local/lib/pkgconfig" ./autogen.sh
- if [ $? -ne 0 ]
- then
- echo "Configure of component ${i} failed!"
- exit 1
- fi
- make
- if [ $? -ne 0 ]
- then
- echo "Make of component ${i} failed!"
- exit 1
- fi
- echo $password | sudo -S make install
- if [ $? -ne 0 ]
- then
- echo "Make install of component ${i} failed!"
- exit 1
- fi
- echo "Installing component ${i} successful!"
- cd ..
- done
- cd installit
- echo $password | sudo -S python2 setup.py install
- if [ $? -ne 0 ]
- then
- echo "Install of component installit failed!"
- exit 1
- fi
- cd ..
- echo "Xfce Git installed successfully!"
- # TODO thunar-desktop-plugin, xfce-installers, xfce4-docs
Add Comment
Please, Sign In to add comment