Commit 5ac5cb49 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack-rpm: add hack against extra empty dirs after unpack deb

parent 99313443
......@@ -156,6 +156,9 @@ __epm_repack_to_rpm()
a='' alien --generate --to-rpm $scripts "../$alpkg" >/dev/null || fatal
fi
# remove all empty dirs (hack agains broken dpkg with LF in the end of line) (hack for linux_pantum.deb)
rmdir *
local subdir="$(echo *)"
[ -d "$subdir" ] || fatal "can't find subdir in $(pwd)"
......
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