Skip to content

Commit

Permalink
[backend] fix AppImage zsync symlink for update daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed May 29, 2017
1 parent 7e5b51a commit faa1211
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/backend/bs_publish
Expand Up @@ -870,9 +870,8 @@ sub createrepo_staticlinks {
} elsif (/^(.*)_([^_]*)-[^_]*\.deb$/s) {
$link = "$1.deb";
$link = "${1}_$2.deb" if $versioned;
} elsif (/^(.*)-([^_]*)_([^-]*)-([^-]*)\.(AppImage?(\.zsync)?)$/s) {
$link = "$1-latest-$4.$5";
$link = "$1-$2-$4.$5" if $versioned;
} elsif (/^(.*)-([^-]*)-([^-]*)\.(AppImage?(\.zsync)?)$/s) {
$link = "$1-latest-$3.$4";
} elsif (/^(.*)_([^_]*)_([^_]*)-Build[^_]*\.snap$/s) {
$link = "${1}_${3}.snap";
$link = "${1}_${3}_$2.snap" if $versioned;
Expand Down

0 comments on commit faa1211

Please sign in to comment.