From 7786bf6024b6fbf13ba474aaa24613f2079d8cef Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 2 Feb 2008 13:57:15 -0600 Subject: Add deprecation warnings to gensync and updatesync Signed-off-by: Dan McGee --- scripts/gensync.sh.in | 7 +++++++ scripts/updatesync.sh.in | 7 +++++++ 2 files changed, 14 insertions(+) (limited to 'scripts') diff --git a/scripts/gensync.sh.in b/scripts/gensync.sh.in index 04f80022..eb1ef3a6 100644 --- a/scripts/gensync.sh.in +++ b/scripts/gensync.sh.in @@ -31,6 +31,9 @@ usage() { printf "gensync (pacman) %s\n\n" "$myver" printf "$(gettext "Usage: %s [package_directory]")\n\n" "$0" printf "$(gettext "\ +NOTE: this script is DEPRECATED. It will be removed in the next major\n\ +release of pacman, so please use repo-add and repo-remove instead.\n\n")" + printf "$(gettext "\ gensync will generate a sync database by reading all PKGBUILD files\n\ from . gensync builds the database in a temporary directory\n\ and then compresses it to .\n\n")" @@ -116,6 +119,10 @@ fi [ ! -d "$rootdir" ] && die "$(gettext "invalid root dir: %s")" $rootdir +printf "$(gettext "\ +NOTE: this script is DEPRECATED. It will be removed in the next major\n\ +release of pacman, so please use repo-add and repo-remove instead.\n\n")" + echo "$(gettext "gensync: building database entries, generating md5sums...")" >&2 cd "$destdir" diff --git a/scripts/updatesync.sh.in b/scripts/updatesync.sh.in index c777d1f1..58ae0d56 100644 --- a/scripts/updatesync.sh.in +++ b/scripts/updatesync.sh.in @@ -32,6 +32,9 @@ usage() { printf "updatesync (pacman) %s\n\n" "$myver" printf "$(gettext "Usage: %s