starship: fix git-config path
This commit is contained in:
parent
d85e66a197
commit
7e0caf187a
|
@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="A minimal, blazing fast, and extremely customizable prom
|
|||
TERMUX_PKG_LICENSE="ISC"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION="1.10.1"
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_SRCURL=https://github.com/starship/starship/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=0dcf3a087748c241207a8c86a8c7b6e4d5558916d22deb4348942797d58c3ed9
|
||||
# TERMUX_PKG_AUTO_UPDATE=true
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
--- a/src/values/path.rs
|
||||
+++ b/src/values/path.rs
|
||||
@@ -162,7 +162,7 @@
|
||||
}
|
||||
@@ -170,7 +170,7 @@
|
||||
Err(interpolate::Error::UserInterpolationUnsupported)
|
||||
}
|
||||
|
||||
- #[cfg(any(target_os = "windows", target_os = "android"))]
|
||||
+ #[cfg(windows)]
|
||||
- #[cfg(not(windows))]
|
||||
+ #[cfg(not(any(target_os = "windows", target_os = "android")))]
|
||||
fn interpolate_user(
|
||||
self,
|
||||
_home_for_user: fn(&str) -> Option<PathBuf>,
|
||||
home_for_user: fn(&str) -> Option<PathBuf>,
|
||||
|
|
Loading…
Reference in New Issue