SPECS: wwwoffle.spec - dir to symlink should be in %pretrans
glen
glen at pld-linux.org
Thu Jan 17 01:13:29 CET 2008
Author: glen Date: Thu Jan 17 00:13:29 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- dir to symlink should be in %pretrans
---- Files affected:
SPECS:
wwwoffle.spec (1.101 -> 1.102)
---- Diffs:
================================================================
Index: SPECS/wwwoffle.spec
diff -u SPECS/wwwoffle.spec:1.101 SPECS/wwwoffle.spec:1.102
--- SPECS/wwwoffle.spec:1.101 Thu Jan 17 01:12:18 2008
+++ SPECS/wwwoffle.spec Thu Jan 17 01:13:24 2008
@@ -212,8 +212,10 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%pre
+%pretrans
test -h %{_var}/cache/wwwoffle/html || rm -rf %{_var}/cache/wwwoffle/html
+
+%pre
%groupadd -g 119 -r -f wwwoffle
%useradd -o -r -u 119 -s /bin/false -g wwwoffle -c "%{name} daemon" -d /var/cache/wwwoffle wwwoffle
@@ -323,6 +325,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.102 2008-01-17 00:13:24 glen
+- dir to symlink should be in %pretrans
+
Revision 1.101 2008-01-17 00:12:18 glen
- todos
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/wwwoffle.spec?r1=1.101&r2=1.102&f=u
More information about the pld-cvs-commit
mailing list