mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-28 10:02:43 +01:00
16 lines
451 B
Bash
16 lines
451 B
Bash
|
#!/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
|