summaryrefslogtreecommitdiff
path: root/scripts/re-pacman
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-11-13 17:48:13 +0000
committerAaron Griffin <aaron@archlinux.org>2006-11-13 17:48:13 +0000
commit7e835366f15f98a1688e022a781483d5c5eeb114 (patch)
treee21804c1720c17e55c3ea0dcb825d9ecfaec571b /scripts/re-pacman
parent734e077996d75a488e62e72da09bdd1f724c15de (diff)
downloadpacman-7e835366f15f98a1688e022a781483d5c5eeb114.tar.xz
*** empty log message ***
Diffstat (limited to 'scripts/re-pacman')
-rw-r--r--scripts/re-pacman28
1 files changed, 24 insertions, 4 deletions
diff --git a/scripts/re-pacman b/scripts/re-pacman
index 4c93524f..74c77ac2 100644
--- a/scripts/re-pacman
+++ b/scripts/re-pacman
@@ -1,9 +1,29 @@
#!/bin/sh
-# This script is useful to rebuild a package from existing installed files
-# Good for users on slow connections that want to share, say, kdelibs but have
-# already cleaned their cache. Many other useful things as well
#
-# TODO check the BACKUP section and change pkgrel if anything has changed
+# re-pacman: regenerate a pacman package based on installed files and the
+# pacman database entries. Useful for reuse, or possible config file
+# extension
+#
+# Copyright (c) 2006 Aaron Griffin <aaron@archlinux.org>
+#
+# 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.
+#
+
+#TODO
+# * Check for md5 changes in backup lines and change pkgrel
pacinfo ()
{