]> git.pld-linux.org Git - packages/google-chrome.git/commitdiff
beta uses chrome-beta dir now, so make update-source unpack proper flash file
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 18 Jul 2014 05:41:59 +0000 (07:41 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 18 Jul 2014 05:41:59 +0000 (07:41 +0200)
update-source.sh

index 58698cc813b1ee197aedcc5b75db342c510fc9c3..876a0c8065d2b544facffc0d5cb322188f4e45be 100755 (executable)
@@ -64,8 +64,12 @@ rpm=$name-$branch-$ver-$rev.$arch.rpm
 manifest=manifest-$ver.json
 test -e $rpm || wget -c $sourceurl/$rpm
 test -e $manifest || {
-       echo ./opt/google/chrome/PepperFlash/manifest.json > $t
+       echo ./opt/google/chrome*/PepperFlash/manifest.json > $t
        rpm2cpio $rpm | cpio -i -E $t --to-stdout > manifest-$ver.json
+       if [ ! -s manifest-$ver.json ]; then
+               echo "Failed to extract flash version."
+               exit 1
+       fi
 }
 flashv=$(awk -F'"' '/version/{print $4}' manifest-$ver.json)
 
This page took 0.081327 seconds and 4 git commands to generate.