From 4fad7855fae4a01b265c7d28c12b995a19ebc72d Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 2 Feb 2008 14:09:22 -0600 Subject: Remove gensync and updatesync from normal distribution Move these two scripts into contrib/, and start the process of de-automaking them by removing the @sysconfdir@ references and the gettext initialization. The removal of all gettext will soon follow. Signed-off-by: Dan McGee --- contrib/updatesync | 153 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 153 insertions(+) create mode 100755 contrib/updatesync (limited to 'contrib/updatesync') diff --git a/contrib/updatesync b/contrib/updatesync new file mode 100755 index 00000000..4df02ef9 --- /dev/null +++ b/contrib/updatesync @@ -0,0 +1,153 @@ +#!/bin/bash +# +# updatesync +# +# Copyright (c) 2004 by Jason Chu +# Derived from gensync (c) 2002-2006 Judd Vinet +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# + +myver='3.1.1' + +# functions + +usage() { + printf "updatesync (pacman) %s\n\n" "$myver" + printf "$(gettext "Usage: %s