[packages/rpm-build-tools] pear autoup: clean unused code

glen glen at pld-linux.org
Thu Jul 17 21:26:52 CEST 2014


commit 99667b5b1a5626ece9f0936b06a06ac771258aa8
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Jul 17 22:26:48 2014 +0300

    pear autoup: clean unused code

 pear-autoup.sh | 7 -------
 1 file changed, 7 deletions(-)
---
diff --git a/pear-autoup.sh b/pear-autoup.sh
index 075e40e..5e3000b 100755
--- a/pear-autoup.sh
+++ b/pear-autoup.sh
@@ -38,14 +38,7 @@ rpm -q php-packagexml2cl php-pear-PEAR_Command_Packaging
 
 [ -f pear.installed ] || {
 	sudo poldek  --update --upa
-	# as sudo & poldek don't allow us to capture (no pipe or redirection work),
-	# we create markers which we could grab when invoked via "script"
-	echo "BEGIN INSTALL PACKAGES"
 	sed -e 's,^,install ,' pear.pkgs | sudo poldek
-	echo "END INSTALL PACKAGES"
-	# rm -f pear.installed && script -c ./pear-autoup.sh pear.install.log
-	# sed -ne '/BEGIN INSTALL PACKAGES/,/END INSTALL PACKAGES/p' pear.install.log | grep -vE 'poldek:/.*install|: ambiguous name|equal version installed, skipped|Nothing to do' | less
-	touch pear.installed
 }
 [ -s pear.upgrades ] || pear list-upgrades > pear.upgrades
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/99667b5b1a5626ece9f0936b06a06ac771258aa8



More information about the pld-cvs-commit mailing list