Skip to content

Commit 77a4348

Browse files
committed
Add symlink to /usr/bin
1 parent 072fd27 commit 77a4348

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,15 +111,16 @@ jobs:
111111
sudo dpkg -i dfetch-package/dfetch*.deb
112112
sudo dpkg -L dfetch
113113
ls -la /opt/dfetch
114-
chmod +x /opt/dfetch/dfetch
115-
echo "/opt/dfetch" >> $GITHUB_PATH
114+
ln -s /opt/dfetch/dfetch-0.10.0_x86_64 /usr/bin/dfetch
116115
shell: bash
117116

118117
- name: Install binary
119118
if: matrix.platform == 'macos-latest'
120119
run: |
121120
ls -la .
122121
sudo installer -pkg dfetch-package/dfetch*.pkg -target / -verboseR
122+
ls -la /opt/dfetch
123+
ln -s /opt/dfetch/dfetch-0.10.0_x86_64 /usr/bin/dfetch
123124
shell: bash
124125

125126
- name: Install binary

0 commit comments

Comments
 (0)