~mdw
/
distorted-keys
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Put scripts in `pkgsharedir' rather than `pkglibdir'.
[distorted-keys]
/
keys.in
diff --git
a/keys.in
b/keys.in
index
2676d56
..
9ec6dca
100755
(executable)
--- a/
keys.in
+++ b/
keys.in
@@
-26,14
+26,16
@@
set -e
: ${ETC=@pkgconfdir@}
: ${KEYS=@pkgstatedir@}
set -e
: ${ETC=@pkgconfdir@}
: ${KEYS=@pkgstatedir@}
-: ${KEYSLIB=@pkg
lib
dir@}
+: ${KEYSLIB=@pkg
data
dir@}
export ETC KEYS KEYSLIB
. "$KEYSLIB"/keyfunc.sh
export ETC KEYS KEYSLIB
. "$KEYSLIB"/keyfunc.sh
-usage="
usage: $quis
COMMAND [ARGUMENTS ...]"
+usage="COMMAND [ARGUMENTS ...]"
prefix=keys
prefix=keys
+runas @user@ keys "$@"
+
## Parse options.
while getopts "hv" opt; do
case "$opt" in
## Parse options.
while getopts "hv" opt; do
case "$opt" in