mirror of
https://github.com/SinTan1729/aur-packages.git
synced 2024-12-26 08:08:36 -06:00
Pass all arguments properly
This commit is contained in:
parent
cc46f8b3ca
commit
ad2d270681
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
pkgname="topgrade-bin"
|
pkgname="topgrade-bin"
|
||||||
_pkgname="topgrade"
|
_pkgname="topgrade"
|
||||||
pkgver=10.3.2
|
pkgver=10.3.2
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Invoke the upgrade procedure of multiple package managers"
|
pkgdesc="Invoke the upgrade procedure of multiple package managers"
|
||||||
arch=('x86_64' 'aarch64' 'armv7h')
|
arch=('x86_64' 'aarch64' 'armv7h')
|
||||||
url='https://github.com/topgrade-rs/topgrade'
|
url='https://github.com/topgrade-rs/topgrade'
|
||||||
|
@ -17,7 +17,7 @@ b2sums_aarch64=('20976e837888d628e1fd6c0e229514b25882622344966aab6e8c7a5ce92215f
|
||||||
b2sums_armv7h=('fc9652c83bcd9ca2cacfcccb5b0525746b494ebb93bef1f4ada4d4b33737ee41be2fbc09058b30e8bf24490fbdfdb69ca3fdbe26a5d68850fc00508da4b08f84')
|
b2sums_armv7h=('fc9652c83bcd9ca2cacfcccb5b0525746b494ebb93bef1f4ada4d4b33737ee41be2fbc09058b30e8bf24490fbdfdb69ca3fdbe26a5d68850fc00508da4b08f84')
|
||||||
package() {
|
package() {
|
||||||
# disable self-update as it won't work
|
# disable self-update as it won't work
|
||||||
echo '#!/bin/sh'$'\n\n''TOPGRADE_NO_SELF_UPGRADE=true /opt/topgrade/topgrade' > topgrade-sh
|
echo '#!/bin/sh'$'\n\n''TOPGRADE_NO_SELF_UPGRADE=true /opt/topgrade/topgrade "$@"' > topgrade-sh
|
||||||
# install binary
|
# install binary
|
||||||
install -Dm755 ./topgrade "$pkgdir/opt/topgrade/topgrade"
|
install -Dm755 ./topgrade "$pkgdir/opt/topgrade/topgrade"
|
||||||
install -Dm755 ./topgrade-sh "$pkgdir/usr/local/bin/topgrade"
|
install -Dm755 ./topgrade-sh "$pkgdir/usr/local/bin/topgrade"
|
||||||
|
|
Loading…
Reference in a new issue