aboutsummaryrefslogtreecommitdiff
path: root/system/kegs/xkegs.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-02-27 18:48:42 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-03-06 11:11:58 +0700
commit6cb808c8bb85984ad0d9c565ec55185cc965f0d0 (patch)
tree96043fe1a2884927250a58f4bcf252ddb314c8d0 /system/kegs/xkegs.sh
parent654f6e61919850bdde641286c5da6d0d1bb1d2da (diff)
system/kegs: Updated for version 1.05.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/kegs/xkegs.sh')
-rw-r--r--system/kegs/xkegs.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/system/kegs/xkegs.sh b/system/kegs/xkegs.sh
index 55f0719b73bc6..a947f07f76f23 100644
--- a/system/kegs/xkegs.sh
+++ b/system/kegs/xkegs.sh
@@ -8,8 +8,13 @@
# read it from /usr/share/kegs/config.kegs, but it'll freeze if
# it doesn't have write permission!
+# Update for v1.05: kegs will now start without ~/.config.kegs,
+# but if you do that, it'll save its config in the current dir as
+# "config.kegs" (no leading dot). So this wrapper's still necessary.
+# Added the missing "$@" so options actually get passed to kegs.
+
if [ ! -e ~/.config.kegs ]; then
cat /usr/share/kegs/config.kegs.default > ~/.config.kegs
fi
-exec /usr/libexec/xkegs
+exec /usr/libexec/xkegs "$@"