[varnish] mkpasswd -> uuidgen, as in upstream
Ingvar Hagelund
ingvar at fedoraproject.org
Wed Mar 7 16:03:01 UTC 2012
commit 20b7ea7035048dbbb1bde9abacd29dff257fe4b3
Author: Ingvar Hagelund <ingvar at redpill-linpro.com>
Date: Tue Mar 6 10:08:34 2012 +0100
mkpasswd -> uuidgen, as in upstream
varnish.spec | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/varnish.spec b/varnish.spec
index dfbbf31..145e2a7 100644
--- a/varnish.spec
+++ b/varnish.spec
@@ -21,7 +21,7 @@ Requires: ncurses
Requires: pcre
Requires: jemalloc
Requires(pre): shadow-utils
-Requires(post): /sbin/chkconfig, /usr/bin/mkpasswd
+Requires(post): /sbin/chkconfig, /usr/bin/uuidgen
Requires(preun): /sbin/chkconfig
Requires(preun): /sbin/service
Requires(preun): initscripts
@@ -249,7 +249,7 @@ exit 0
/sbin/chkconfig --add varnish
/sbin/chkconfig --add varnishlog
/sbin/chkconfig --add varnishncsa
-test -f /etc/varnish/secret || (mkpasswd > /etc/varnish/secret && chmod 0600 /etc/varnish/secret)
+test -f /etc/varnish/secret || (uuidgen > /etc/varnish/secret && chmod 0600 /etc/varnish/secret)
%preun
if [ $1 -lt 1 ]; then
More information about the scm-commits
mailing list