SOURCES: rpm-hrmib-cache - sane umask

glen glen at pld-linux.org
Wed Feb 20 17:36:15 CET 2008


Author: glen                         Date: Wed Feb 20 16:36:15 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- sane umask

---- Files affected:
SOURCES:
   rpm-hrmib-cache (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/rpm-hrmib-cache
diff -u SOURCES/rpm-hrmib-cache:1.2 SOURCES/rpm-hrmib-cache:1.3
--- SOURCES/rpm-hrmib-cache:1.2	Wed Feb 20 17:32:51 2008
+++ SOURCES/rpm-hrmib-cache	Wed Feb 20 17:36:09 2008
@@ -1,10 +1,11 @@
 #!/bin/sh
+export LC_ALL=C
+umask 002
+
 mydir=/var/cache/hrmib
 mkdir -p $mydir || exit 1
 rm -f $mydir/*
 
-export LC_ALL=C
-
 buf=$(rpm --nodigest --nosignature  -qa --qf '%{name}-%{version}-%{release}.%{arch} %{installtime:date}\n')
 echo "$buf" | while read nvra idate; do
    case $nvra in
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/rpm-hrmib-cache?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list