Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts/updatesync.sh.in
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-02-02 13:57:15 -0600
committerDan McGee <dan@archlinux.org>2008-02-02 13:57:15 -0600
commit7786bf6024b6fbf13ba474aaa24613f2079d8cef (patch)
tree433bfa7b3b13b61c26f79866450715398179ae4d /scripts/updatesync.sh.in
parent7cfb343b0fed556e82b6fbc81047c5461effab84 (diff)
Add deprecation warnings to gensync and updatesync
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts/updatesync.sh.in')
-rw-r--r--scripts/updatesync.sh.in7
1 files changed, 7 insertions, 0 deletions
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 <action> <destfile> <option> [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 "\
updatesync will update a sync database by reading a PKGBUILD and\n\
modifying the destfile. updatesync updates the database in a temporary\n\
directory and then compresses it to <destfile>.\n\n")"
@@ -116,6 +119,10 @@ if [ "$4" != "" ]; then
fi
opt_force=""
+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")"
+
if [ "$action" = "upd" ]; then # INSERT / UPDATE
if [ ! -f "$option" ]; then
die "$(gettext "%s not found")" $option