Skip to content

Commit

Permalink
Download shepherd.js from cdn.jsdelivr.net
Browse files Browse the repository at this point in the history
Issue: https://progress.opensuse.org/issues/153145

Also update dist/rpm/update-cache.sh because the lr command apparently
does not do anything anymore:

    % osc service lr tar
    WARNING: Command 'lr' is obsolete
  • Loading branch information
perlpunk committed Jan 5, 2024
1 parent bf59e01 commit 638a5fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/assetpack.def
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
< https://cdnjs.cloudflare.com/ajax/libs/chosen/1.7.0/chosen.jquery.js
< https://cdnjs.cloudflare.com/ajax/libs/jquery-ujs/1.2.1/rails.js
< javascripts/disable_animations.js [mode==test]
< https://shepherdjs.dev/dist/js/shepherd.js
< https://cdn.jsdelivr.net/npm/[email protected]/dist/js/shepherd.js

! anser.js
< javascripts/anser-import.js
Expand Down
5 changes: 4 additions & 1 deletion dist/rpm/update-cache.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#! /bin/sh

# Note: this might not work correctly anymore because the 'lr' command
# was obsoleted.

set -e

export LC_ALL='en_US.UTF-8'
Expand All @@ -9,7 +12,7 @@ rm -f _service\:*
rm -f *.tar *.cpio
osc service lr
# special call for tar buildtime service
osc service lr tar
osc service run tar

SD=$PWD
cd openQA
Expand Down

0 comments on commit 638a5fd

Please sign in to comment.