Skip to content

Commit

Permalink
Symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
pguyot authored Aug 11, 2023
1 parent 135e9b9 commit 606b585
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/test-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ jobs:
test ! -f /usr/games/fortune
apt update
apt install -y fortunes-min fortune-mod
# db is not installed at the proper path
if [ ! -d /usr/share/games/fortune ]; then
ln -s /usr/share/games/fortunes /usr/share/games/fortune
fi
find /usr/share/games
- name: Move and rename image with dependencies
Expand All @@ -40,9 +44,4 @@ jobs:
base_image: file://$RUNNER_TEMP/test_cache.img
commands: |
find /usr/share/games
# db is not installed at the proper path
if [ ! -d /usr/share/games/fortune ]; then
/usr/games/fortune /usr/share/games/fortunes
else
/usr/games/fortune
fi
/usr/games/fortune

0 comments on commit 606b585

Please sign in to comment.