aboutsummaryrefslogtreecommitdiff
path: root/alt/cpt-exec
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-07-25 11:25:36 +0300
committerCem Keylan <cem@ckyln.com>2020-07-25 11:25:36 +0300
commit38e3bef4a6acd767f5664c773911f8a97fb3ca09 (patch)
treee23dc117c86e4a3a00cd3e28b538a79f0f6e69b5 /alt/cpt-exec
parent47a3723632b82a0d3caf79dbe8ada1eae60dd976 (diff)
downloadcpt-extra-master.tar.gz
cpt-extra: change kiss commands to cpt commandsHEAD20200725master
Diffstat (limited to 'alt/cpt-exec')
-rwxr-xr-xalt/cpt-exec4
1 files changed, 2 insertions, 2 deletions
diff --git a/alt/cpt-exec b/alt/cpt-exec
index d2b3217..63eaed3 100755
--- a/alt/cpt-exec
+++ b/alt/cpt-exec
@@ -14,10 +14,10 @@ pkg=$1
[ "${2##/*}" ] && command=">usr>bin>$2" ||
command="$(printf '%s' "$2" | sed 's#/#>#g')"
-[ -h "${file:=/var/db/kiss/choices/$pkg$command}" ] && {
+[ -h "${file:=/var/db/cpt/choices/$pkg$command}" ] && {
printf 'ERROR: %s\n' "$file is a symlink"
exit 1
}
shift 2
-exec "/var/db/kiss/choices/$pkg$command" "$@"
+exec "/var/db/cpt/choices/$pkg$command" "$@"