diff options
author | Martchus | 2018-10-07 18:31:12 +0200 |
---|---|---|
committer | Martchus | 2018-10-07 18:31:12 +0200 |
commit | 1e6ddb37e46a0c6302b931e5a32fec05e6b9ac01 (patch) | |
tree | da8cd29a2f6816d5ae4eeef55f94b5fbf8ab2822 /update.sh | |
parent | a8e05ba1043cfb419b16cd0354fb758c15605521 (diff) | |
download | aur-1e6ddb37e46a0c6302b931e5a32fec05e6b9ac01.tar.gz |
Fix update script
Diffstat (limited to 'update.sh')
-rwxr-xr-x | update.sh | 2 |
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 |