From e7c7430458a919896cccb9eb9eb55e290636e989 Mon Sep 17 00:00:00 2001 From: Magnus Boman Date: Sat, 13 Aug 2022 21:48:50 +0200 Subject: [PATCH] upgpkg: gofile-downloader-git r17.41119d8-1: Drop shebang patch Upstream added shebang to the script --- .SRCINFO | 2 +- PKGBUILD | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index fd60c47f22d..e6f842dfa55 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = gofile-downloader-git pkgdesc = Download files from https://gofile.io - pkgver = r16.465ef97 + pkgver = r17.41119d8 pkgrel = 1 url = https://github.com/ltsdw/gofile-downloader arch = any diff --git a/PKGBUILD b/PKGBUILD index 55a8366571a..0845d604853 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: katt pkgname=gofile-downloader-git -pkgver=r16.465ef97 +pkgver=r17.41119d8 pkgrel=1 pkgdesc='Download files from https://gofile.io' arch=(any) @@ -19,11 +19,6 @@ pkgver() { printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } -prepare() { - # Add missing shebang - sed -i '1 i #!/usr/bin/env python3' "${pkgname%-git}"/"${pkgname%-git}".py -} - package() { install -Dm755 "${pkgname%-git}/${pkgname%-git}.py" "${pkgdir}/usr/bin/${pkgname%-git}" }