]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- fix bootup
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 20 Aug 2010 16:39:56 +0000 (16:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pear-autoup.sh -> 1.5

pear-autoup.sh

index a75d8633d41d7add827ad696cb35c5f38d758c7c..3faeef54c57116ff64d76a741236adde7778c7da 100644 (file)
@@ -7,10 +7,10 @@
 
 set -e
 
-[ -f pear.ls ] || poldek -q --skip-installed --cmd 'ls php-pear-* | desc'
-[ -f pear.pkgs ] || awk '/^Source.package:/{print $3}' < pear.ls | sort -u | sed -re 's,-[^-]+-[^-]+.src.rpm$,,' > pear.pkgs
+[ -s pear.ls ] || poldek -q --skip-installed --cmd 'ls php-pear-* | desc' > pear.ls
+[ -s pear.pkgs ] || awk '/^Source.package:/{print $3}' < pear.ls | sort -u | sed -re 's,-[^-]+-[^-]+.src.rpm$,,' > pear.pkgs
 [ -f pear.installed ] || { sudo poldek  --update --upa; sed -e 's,^,install ,' pear.pkgs | sudo poldek; touch pear.installed; }
-[ -f pear.upgrades ] || pear list-upgrades > pear.upgrades
+[ -s pear.upgrades ] || pear list-upgrades > pear.upgrades
 
 # filter out tests, see https://bugs.launchpad.net/poldek/+bug/620362
 sed -i -e '/-tests/d' pear.pkgs
This page took 0.040637 seconds and 4 git commands to generate.