Commit b52ace34 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-repack: fix one char subdir packing

parent 2161f431
...@@ -123,7 +123,7 @@ __fix_spec() ...@@ -123,7 +123,7 @@ __fix_spec()
for i in / /etc /etc/init.d /etc/systemd /bin /opt /usr /usr/bin /usr/share /usr/share/doc /var /var/log /var/run \ for i in / /etc /etc/init.d /etc/systemd /bin /opt /usr /usr/bin /usr/share /usr/share/doc /var /var/log /var/run \
/etc/cron.daily /usr/share/icons /usr/share/pixmaps /usr/share/man /usr/share/man/man1 /usr/share/appdata /usr/share/applications /usr/share/menu ; do /etc/cron.daily /usr/share/icons /usr/share/pixmaps /usr/share/man /usr/share/man/man1 /usr/share/appdata /usr/share/applications /usr/share/menu ; do
sed -i \ sed -i \
-e "s|/./|/|" \ -e "s|/\./|/|" \
-e "s|^%dir[[:space:]]\"$i/*\"$||" \ -e "s|^%dir[[:space:]]\"$i/*\"$||" \
-e "s|^%dir[[:space:]]$i/*$||" \ -e "s|^%dir[[:space:]]$i/*$||" \
-e "s|^\"$i/*\"$||" \ -e "s|^\"$i/*\"$||" \
......
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