[arch-commits] Commit in sqlite3/trunk (PKGBUILD)

andyrtr at archlinux.org andyrtr at archlinux.org
Mon Aug 22 11:18:11 UTC 2011


    Date: Monday, August 22, 2011 @ 07:18:10
  Author: andyrtr
Revision: 136061

fix file permission in doc pkg and remove obsolete files; FS#24605

Modified:
  sqlite3/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++++++
 1 file changed, 8 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-08-22 10:24:51 UTC (rev 136060)
+++ PKGBUILD	2011-08-22 11:18:10 UTC (rev 136061)
@@ -72,4 +72,12 @@
   cd ${srcdir}/sqlite-doc-${_docver}
   mkdir -p ${pkgdir}/usr/share/doc/${pkgbase}
   cp -R *  ${pkgdir}/usr/share/doc/${pkgbase}/
+  
+  # fix permissions and remove obsolete files; https://bugs.archlinux.org/task/24605
+  find ${pkgdir} -perm 755 -exec ls -lha {} \;
+  find ${pkgdir} -perm 755 -exec chmod 644 {} \;
+  find ${pkgdir} -name '*~' -exec ls -lha {} \;
+  find ${pkgdir} -name '*~' -exec rm -f {} \;
+  find ${pkgdir} -name '.~*' -exec ls -lha {} \;
+  find ${pkgdir} -name '.~*' -exec rm -f {} \;
 }




More information about the arch-commits mailing list