[arch-commits] Commit in m4/repos (core-x86_64 core-x86_64/m4.install)

Jan de Groot jgc at archlinux.org
Mon Oct 27 04:16:36 EDT 2008


    Date: Monday, October 27, 2008 @ 04:16:36
  Author: jgc
Revision: 17253

Merged revisions 17064 via svnmerge from 
svn+ssh://svn.archlinux.org/home/svn-packages/m4/trunk

........
  r17064 | andyrtr | 2008-10-24 20:25:31 +0200 (Fri, 24 Oct 2008) | 1 line
  
  install file added
........

Added:
  m4/repos/core-x86_64/m4.install
    (from rev 17064, m4/trunk/m4.install)
Modified:
  m4/repos/core-x86_64/	(properties)

------------+
 m4.install |   20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)


Property changes on: m4/repos/core-x86_64
___________________________________________________________________
Name: svnmerge-integrated
   - /m4/trunk:1-17053
   + /m4/trunk:1-17252

Copied: m4/repos/core-x86_64/m4.install (from rev 17064, m4/trunk/m4.install)
===================================================================
--- core-x86_64/m4.install	                        (rev 0)
+++ core-x86_64/m4.install	2008-10-27 08:16:36 UTC (rev 17253)
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(m4.info m4.info-1 m4.info-2)
+
+post_install() {
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file $infodir/dir 2> /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  for file in ${filelist[@]}; do
+    install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+  done
+}
+
+# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list