All pastes #990445 Raw Edit

clueless

public text v1 · immutable
#990445 ·published 2008-04-20 04:15 UTC
rendered paste body
#!/bin/shAUTOGEN_ARGS='--disable-nls --prefix=/usr/local'COMPIZ_FUSION="libX11 compiz bcop libcompizconfig compizconfig-python ccsm plugins-main plugins-extra emerald fusion-icon"#COMPIZ_FUSION="bcop libcompizconfig compizconfig-python ccsm plugins-main plugins-extra emerald fusion-icon"EXTRAS="wallpaper screensaver freewins anaglyph smackpad"MAKEFLAGS='-j4'echoecho Updating compiz-fusionechofor i in $COMPIZ_FUSION; do 	if [ -d $i ]; then		cd $i 		echo updating $i 		GIT=`git pull` 		echo $GIT		if [ "$GIT" != "Already up-to-date." ]; then			sleep 5			echo "Rebuilding and installing $i..."			case "$i" in				ccsm)					sudo python setup.py install --prefix=/usr/local					;;				fusion-icon)					sudo make install					;;				compiz)					./autogen.sh $AUTOGEN_ARGS --enable-librsvg --disable-kde --disable-gnome --disable-metacity && make clean &&  make && sudo make install					;;				*)					./autogen.sh $AUTOGEN_ARGS && make clean &&  make && sudo make install				;;			esac			echo "Finished with $i"		fi		cd ..	else		echo Directory $i does not exist		sleep 5	fidoneechoecho Updating miscellaneous modules to be installed under $HOMEechofor i in $EXTRAS; do	cd $i	echo updating $i 	GIT=`git pull` 	echo $GIT	if [ "$GIT" != "Already up-to-date." ]; then		sleep 5		case "$i" in			makefile)				;;			*)				make clean && make install				;;			esac	fi	cd ..done