]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
pear autoup: clean unused code
authorElan Ruusamäe <glen@delfi.ee>
Thu, 17 Jul 2014 19:26:48 +0000 (22:26 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 17 Jul 2014 19:26:48 +0000 (22:26 +0300)
pear-autoup.sh

index 075e40e25b82170dc427e013de7e8b75b8a61927..5e3000be5aad734616fc25b6b9962da263cf45fd 100755 (executable)
@@ -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
 
This page took 0.085794 seconds and 4 git commands to generate.