Skip to content

Commit 54084a7

Browse files
committed
Add missing dependency
shiftkey#21
1 parent 24c3054 commit 54084a7

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Simply install `github-desktop-plus-bin` from the AUR.
4646
Create the repository file:
4747

4848
```bash
49-
echo "deb [arch=amd64 trusted=yes] https://deb.github-desktop.polrivero.com/ stable main" | sudo tee /etc/apt/sources.list.d/github-desktop-plus.list
49+
echo "deb [trusted=yes] https://deb.github-desktop.polrivero.com/ stable main" | sudo tee /etc/apt/sources.list.d/github-desktop-plus.list
5050
```
5151

5252
Update the package list and install:

publish/aur/PKGBUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ url="https://github.com/pol-rivero/github-desktop-plus"
1313
license=('MIT')
1414
depends=(
1515
'curl'
16+
'libcurl-gnutls'
1617
'git'
1718
'libsecret'
1819
'libxss'

script/package-debian.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ const options: DebianOptions = {
6161
depends: [
6262
// Desktop-specific dependencies
6363
'libcurl3 | libcurl4',
64+
'libcurl3-gnutls',
6465
'libsecret-1-0',
6566
'gnome-keyring',
6667
],

script/resources/rpm/post.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,9 @@ chmod +x "$CLI_DIR"/github || :
99
# create symbolic links to /usr/bin directory
1010
ln -f -s "$CLI_DIR"/github /usr/bin || :
1111

12+
# https://github.com/shiftkey/desktop/issues/21
13+
if [ ! -f /usr/lib64/libcurl-gnutls.so.4 ]; then
14+
ln -s /usr/lib64/libcurl.so.4 /usr/lib64/libcurl-gnutls.so.4
15+
fi
16+
1217
exit 0

0 commit comments

Comments
 (0)