Commit 35da8f25 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-sh-altlinux-contents-index: don't chmod missed files

parent 782a8497
......@@ -57,7 +57,7 @@ rsync_alt_contents_index()
a= rsync --partial --inplace $3 -a --progress "$URL" "$TD" >/dev/null 2>/dev/null
fi
res=$?
sudocmd chmod a+rw "$TD"
[ -f "$TD" ] && sudocmd chmod a+rw "$TD"
return $res
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment