All pastes #159377 Raw Edit

mos

public shellscript v1 · immutable
·published 2006-09-03 00:37 UTC
rendered paste body
#!/bin/bashORDER="imlib2-cvs eet-cvs edb-cvs imlib2_loaders-cvs epeg-cvs evas-cvs embryo-cvs ecore-cvs edje-cvs emotion-cvs ewl-cvs epsilon-cvs esmart-cvs e-cvs engrave-cvs e_utils-cvs examine-cvs enotes-cvs etk-cvs equate-cvs evfs-cvs entropy-cvs entice-cvs enterminus-cvs elicit-cvs eclair-cvs entrance-cvs e_modules-cvs"cd /usr/src/if [ -w .. ]then	echo "Beginning to make e17, this may take some time"else	echo "insufficent privilages"	exit 1fiif [ -d e17 ]then	cd e17else 	rm e17 &>/dev/null	mkdir e17	cd e17fifor i in $ORDER; do	if [ -d $i ]; then		cd $i	else		rm $i &>/dev/null		mkdir $i		cd $i	fi	if [ -e PKGBUILD ]; then		echo "PKGBUILD present"	else		wget -c http://aur.archlinux.org/packages/$i/$i/PKGBUILD	fi	if [ $i = "evas-cvs" ]; then		if [ -e e17.profile ]; then			echo "e17.profile present"		else			wget -c http://aur.archlinux.org/packages/$i/$i/e17.profile		fi		if [ -e evas-cvs.install ]; then			echo "evas-cvs.install present"		else			wget -c http://aur.archlinux.org/packages/$i/$i/evas-cvs.install		fi	fi	if [ $i = "e-cvs" ]; then		if [ -e e17.desktop ]; then			echo "e17.desktop present"		else			wget -c http://aur.archlinux.org/packages/$i/$i/e17.desktop		fi	fi	if [ $i = "entrance-cvs" ]; then		if [ -e entranced ]; then			echo "entranced present"		else			wget -c http://aur.archlinux.org/packages/$i/$i/entranced		fi        fi	rm *.pkg* &>/dev/null	versionpkg -f	if pacman -Qs $i; then		pacman --upgrade *.pkg*	else		pacman -A *.pkg* 	fi	cd /usr/src/e17done