diff options
author | Dan McGee <dan@archlinux.org> | 2008-02-02 13:57:15 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-02-02 13:57:15 -0600 |
commit | 7786bf6024b6fbf13ba474aaa24613f2079d8cef (patch) | |
tree | 433bfa7b3b13b61c26f79866450715398179ae4d /scripts/gensync.sh.in | |
parent | 7cfb343b0fed556e82b6fbc81047c5461effab84 (diff) | |
download | pacman-7786bf6024b6fbf13ba474aaa24613f2079d8cef.tar.xz |
Add deprecation warnings to gensync and updatesync
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts/gensync.sh.in')
-rw-r--r-- | scripts/gensync.sh.in | 7 |
1 files changed, 7 insertions, 0 deletions
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 <root> <destfile> [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 <root>. gensync builds the database in a temporary directory\n\ and then compresses it to <destfile>.\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" |