extfs: rpm: unset hardcoded irrelevant size of RPM scripts.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2017-12-23 19:26:01 +03:00
parent cf94e56acf
commit 8d0c1c305a

View File

@ -228,13 +228,13 @@ mcrpmfs_list ()
HEADERSIZE=`printf '%s\n' "$DESC" | wc -c` # 'echo' can't be used for arbitrary data (see commit message).
printf '%s %s %s HEADER\n' "${FILEPREF}" "${HEADERSIZE}" "${DATE}"
echo "-r-xr-xr-x 1 root root 39 $DATE INSTALL"
echo "-r-xr-xr-x 1 root root 0 $DATE INSTALL"
case "${rpm_filename}" in
*.src.rpm)
echo "-r-xr-xr-x 1 root root 39 $DATE REBUILD"
echo "-r-xr-xr-x 1 root root 0 $DATE REBUILD"
;;
*)
echo "-r-xr-xr-x 1 root root 39 $DATE UPGRADE"
echo "-r-xr-xr-x 1 root root 0 $DATE UPGRADE"
;;
esac