summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/commitpkg.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/commitpkg.in b/src/commitpkg.in
index f80a6cd..5f29881 100644
--- a/src/commitpkg.in
+++ b/src/commitpkg.in
@@ -55,6 +55,11 @@ fi
cmd=${0##*/}
+# Deprecation warning
+if [[ -z $_DEVTOOLS_COMMAND ]]; then
+ warning "${cmd} is deprecated and will be removed. Use 'pkgctl release' instead"
+fi
+
if [[ ! -f PKGBUILD ]]; then
die 'No PKGBUILD file'
fi