mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 13:57:14 +02:00
community/gdu: set default shell to ash
This commit is contained in:
parent
73c3aad806
commit
b871a00f1a
@ -3,14 +3,16 @@
|
|||||||
pkgname=gdu
|
pkgname=gdu
|
||||||
pkgver=5.28.0
|
pkgver=5.28.0
|
||||||
_majorver=${pkgver%%.*}
|
_majorver=${pkgver%%.*}
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
pkgdesc="Fast disk usage calculator with console interface"
|
pkgdesc="Fast disk usage calculator with console interface"
|
||||||
url="https://github.com/dundee/gdu"
|
url="https://github.com/dundee/gdu"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
makedepends="go gzip"
|
makedepends="go gzip"
|
||||||
subpackages="$pkgname-doc"
|
subpackages="$pkgname-doc"
|
||||||
source="$pkgname-$pkgver.tar.gz::https://github.com/dundee/gdu/archive/refs/tags/v$pkgver.tar.gz"
|
source="$pkgname-$pkgver.tar.gz::https://github.com/dundee/gdu/archive/refs/tags/v$pkgver.tar.gz
|
||||||
|
ash.patch
|
||||||
|
"
|
||||||
|
|
||||||
export GOFLAGS="$GOFLAGS -modcacherw"
|
export GOFLAGS="$GOFLAGS -modcacherw"
|
||||||
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
|
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
|
||||||
@ -57,4 +59,5 @@ package() {
|
|||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
cb7b71553fccbe40d294259e649ecb6b258c283375dadb565da857b277aba4d6c5e773418adf4077e9319d25f61f0f5e1d50ce9633734010d88a16064af68768 gdu-5.28.0.tar.gz
|
cb7b71553fccbe40d294259e649ecb6b258c283375dadb565da857b277aba4d6c5e773418adf4077e9319d25f61f0f5e1d50ce9633734010d88a16064af68768 gdu-5.28.0.tar.gz
|
||||||
|
6b19ef6f63670fcca6e893fb713a96635d850b0b5063dfe96427e9f29875e314c91f1bbdcbfe156314005e3b953346f814a6dd53702f026b2242a3b73734f8bb ash.patch
|
||||||
"
|
"
|
||||||
|
13
community/gdu/ash.patch
Normal file
13
community/gdu/ash.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/tui/exec_other.go b/tui/exec_other.go
|
||||||
|
index 6fd0b91..04b938d 100644
|
||||||
|
--- a/tui/exec_other.go
|
||||||
|
+++ b/tui/exec_other.go
|
||||||
|
@@ -11,7 +11,7 @@ import (
|
||||||
|
func getShellBin() string {
|
||||||
|
shellbin, ok := os.LookupEnv("SHELL")
|
||||||
|
if !ok {
|
||||||
|
- shellbin = "/bin/bash"
|
||||||
|
+ shellbin = "/bin/ash"
|
||||||
|
}
|
||||||
|
return shellbin
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user