From e9e19b7cc62c54795695589aa975fa31f1e65ed9 Mon Sep 17 00:00:00 2001 From: Andrew Fyfe Date: Wed, 11 Apr 2007 22:16:56 +0100 Subject: autotool scripts/updatesync - move scripts/updatesync -> scripts/updatesync.in - add -V --version options to scripts/updatesync.in - add autotool commands to generate scripts/updatesync Signed-off-by: Andrew Fyfe --- scripts/Makefile.am | 2 +- scripts/updatesync | 142 --------------------------------------------- scripts/updatesync.in | 156 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 157 insertions(+), 143 deletions(-) delete mode 100755 scripts/updatesync create mode 100755 scripts/updatesync.in (limited to 'scripts') diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 7e1fbc3b..8b30022c 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -21,6 +21,6 @@ EXTRA_DIST = abs.in \ rankmirrors \ repo-add.in \ repo-remove.in \ - updatesync + updatesync.in abs gensync makepkg makeworld pacman-optimize rankmirrors repo-add repo-remove re-pacman updatesync: diff --git a/scripts/updatesync b/scripts/updatesync deleted file mode 100755 index 7c6dab27..00000000 --- a/scripts/updatesync +++ /dev/null @@ -1,142 +0,0 @@ -#!/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, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, -# USA. -# - -myver='3.0.0' - -# functions - -usage() { - echo "updatesync $myver" - echo "usage: $0