From 20b7ea7035048dbbb1bde9abacd29dff257fe4b3 Mon Sep 17 00:00:00 2001 From: Ingvar Hagelund Date: Tue, 6 Mar 2012 10:08:34 +0100 Subject: [PATCH] mkpasswd -> uuidgen, as in upstream --- varnish.spec | 4 ++-- 1 file 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