Skip to content

Commit 2d76b6b

Browse files
committed
Add warning "this script is on old stable branch"
1 parent 5b89907 commit 2d76b6b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

pacapt

+12
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,18 @@ _OSTYPE_detect() {
218218
###
219219

220220
# Detect type of package manager.
221+
cat 1>&2 <<-EOF
222+
WARNING ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
223+
You are using the 'pacapt' on the old stable branch
224+
which is closed on May 4th, 2014.
225+
226+
Please consider to switch to new script on 'ng' branch
227+
which is under an active development. See also
228+
229+
https://github.com/icy/pacapt/tree/ng
230+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
231+
EOF
232+
221233
_OSTYPE_detect
222234

223235
# If the system is Arch-like, pass all of the arguments to /usr/bin/pacman

0 commit comments

Comments
 (0)