]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- sort final list
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 24 Aug 2010 09:28:38 +0000 (09:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pear-autoup.sh -> 1.8

pear-autoup.sh

index fa185307acf7fab1d3054f4d369f5b8a1dd5ec0d..d2b7c8deb2a8f3301aa82fd970472c26a8053c1c 100644 (file)
@@ -9,7 +9,7 @@ set -e
 
 [ -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
+       awk '/^Source.package:/{print $3}' < pear.ls | sed -re 's,-[^-]+-[^-]+.src.rpm$,,' | sort -u > pear.pkgs
 
        # filter out tests, see https://bugs.launchpad.net/poldek/+bug/620362
        sed -i -e '/-tests/d' pear.pkgs
@@ -20,7 +20,11 @@ set -e
        sed -i -e '/^php-pear$/d' pear.pkgs
 }
 
-[ -f pear.installed ] || { sudo poldek  --update --upa; sed -e 's,^,install ,' pear.pkgs | sudo poldek; touch pear.installed; }
+[ -f pear.installed ] || {
+       sudo poldek  --update --upa
+       sed -e 's,^,install ,' pear.pkgs | sudo poldek
+       touch pear.installed
+}
 [ -s pear.upgrades ] || pear list-upgrades > pear.upgrades
 
 # test that php is working
This page took 0.278513 seconds and 4 git commands to generate.