]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- sane umask
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 20 Feb 2008 16:36:09 +0000 (16:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-hrmib-cache -> 1.3

rpm-hrmib-cache

index abca818657759246a320e73c62ad4dac9dc4f4dd..1f96c6e53d6d644ad1dd2a45eeecffbf15ce220a 100644 (file)
@@ -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
This page took 0.081112 seconds and 4 git commands to generate.