mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-18 17:29:28 +03:00
extfs: rpm: unset hardcoded irrelevant size of RPM scripts.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
cf94e56acf
commit
8d0c1c305a
@ -228,13 +228,13 @@ mcrpmfs_list ()
|
|||||||
|
|
||||||
HEADERSIZE=`printf '%s\n' "$DESC" | wc -c` # 'echo' can't be used for arbitrary data (see commit message).
|
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}"
|
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
|
case "${rpm_filename}" in
|
||||||
*.src.rpm)
|
*.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
|
esac
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user