summaryrefslogtreecommitdiffstats
path: root/system/kegs/xkegs.sh
blob: 55f0719b73bc6bfdf6747a6bbc5e4af67b20b5f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

# Wrapper script for xkegs, part of SlackBuilds.org kegs package
# By B. Watson

# xkegs is smart enough to read its conf file from ~/.config.kegs, but
# it will choke if the file's not found. Also, it's smart enough to
# read it from /usr/share/kegs/config.kegs, but it'll freeze if
# it doesn't have write permission!

if [ ! -e ~/.config.kegs ]; then
	cat /usr/share/kegs/config.kegs.default > ~/.config.kegs
fi

exec /usr/libexec/xkegs