summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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 ()
{