commit: 3676ae7d1a92a133b3c06126c379af6d6b2dad1b
parent be520833ee76e3230851646cec0074b6b650d662
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Thu, 28 Sep 2023 01:53:45 +0200
games-fps/assaultcube-reloaded: fix config paths
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/games-fps/assaultcube-reloaded/assaultcube-reloaded-2.18.2-r1.ebuild b/games-fps/assaultcube-reloaded/assaultcube-reloaded-2.18.2-r1.ebuild
@@ -76,7 +76,10 @@ src_install() {
#!/bin/sh
cd "/usr/share/${PN}" || exit 1
-"/usr/libexec/${PN}/ac_client" "\$@"
+"/usr/libexec/${PN}/ac_client" \
+ --home="\${XDG_CONFIG_HOME:-\$HOME/.config}/${PN}" \
+ --init="\${XDG_CONFIG_HOME:-\$HOME/.config}/${PN}/init.cfg" \
+ "\$@"
EOF
newbin - ${PN}_server <<EOF