diff options
author | mrxx | 2022-06-16 02:11:42 +0200 |
---|---|---|
committer | mrxx | 2022-06-16 02:11:42 +0200 |
commit | 8f7958b1415b923fca3278762eed04f6da2e0697 (patch) | |
tree | 6bfd1f3a1327b684da47d7dceb6a78932d6af1d9 /PKGBUILD | |
parent | 4c85989e804f5759ad8cfb2e1ae8518993a4d003 (diff) | |
download | aur-mynotex.tar.gz |
Fix download confirmation
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -5,7 +5,7 @@ pkgname=mynotex pkgver=1.4.1.0 -pkgrel=4 +pkgrel=5 pkgdesc="A free note-taking, document file and activity manager for GNU/Linux" url="https://sites.google.com/site/mynotex" license=('GPL') @@ -16,8 +16,7 @@ optdepends=('gnupg: for notes encryption') gdrive_download() { gUrl=https://drive.google.com/uc?export=download curl -sc gc "${gUrl}&id=${1}" >/dev/null - gc="$(awk '/_warning_/ {print $NF}' gc)" - curl -k -C - -Lb gc "${gUrl}&confirm=${gc}&id=${1}" -o $2 + curl -k -C - -Lb gc "${gUrl}&confirm=t&id=${1}" -o $2 } prepare() { @@ -40,3 +39,4 @@ package() { mkdir -p "${pkgdir}/usr/bin/" ln -s "/opt/mynotex/mynotex" "${pkgdir}/usr/bin/mynotex" } + |