commit 99667b5b1a5626ece9f0936b06a06ac771258aa8
Author: Elan Ruusamäe <[email protected]>
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
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit