summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartchus2018-10-07 18:31:12 +0200
committerMartchus2018-10-07 18:31:12 +0200
commit1e6ddb37e46a0c6302b931e5a32fec05e6b9ac01 (patch)
treeda8cd29a2f6816d5ae4eeef55f94b5fbf8ab2822
parenta8e05ba1043cfb419b16cd0354fb758c15605521 (diff)
downloadaur-1e6ddb37e46a0c6302b931e5a32fec05e6b9ac01.tar.gz
Fix update script
-rwxr-xr-xupdate.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.sh b/update.sh
index 9816f1d89514..f6148abd78de 100755
--- a/update.sh
+++ b/update.sh
@@ -10,7 +10,7 @@ srcurl='http://nightlies.videolan.org/build/source/'
srclist=$(curl "$srcurl")
msg 'Find latest nightly'
-fileregex='.*(<a\ +href=\")([^\"]+)(\">)'
+fileregex='(<a\ +href=\")(vlc-([^\"]+)-([^\"]+)-([^\"]+)-([^\"]+))(\">)'
if ! [[ $srclist =~ $fileregex ]]; then
echo 'No source found'
exit -1