mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +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).
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user