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

Antonio Rojas arojas at archlinux.org
Thu Dec 27 12:48:09 UTC 2018


    Date: Thursday, December 27, 2018 @ 12:48:08
  Author: arojas
Revision: 418493

rm /var/run (FS#61188)

Modified:
  drbd-utils/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-27 12:05:49 UTC (rev 418492)
+++ PKGBUILD	2018-12-27 12:48:08 UTC (rev 418493)
@@ -2,7 +2,7 @@
 
 pkgname=drbd-utils
 pkgver=9.7.0
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 pkgdesc='Userland tools for Distributed Replicated Block Device'
 url='https://www.drbd.org'
@@ -48,12 +48,10 @@
   install -dm 755 usr/share/bash-completion
   mv etc/bash_completion.d usr/share/bash-completion/completions
 
-  # remove /var/lock
-  rmdir var/lock
+  # remove /var/lock and /var/run
+  rm -r var/{lock,run}
 
   # autoload module
   install -Dm 644 /dev/null usr/lib/modules-load.d/drbd.conf
   echo 'drbd' > usr/lib/modules-load.d/drbd.conf
 }
-
-# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list