Petr Kozelka

mc unzip problem on ubuntu karmic

25 November 2009 -

Ubuntu 9.10 (Karmic Koala) has a little issue with Midnight Commander - it does not browse into zipped files, and shows empty contents instead. After searching the web I found out that the problem can be solved by setting property "op_has_zipinfo" to "1" in file "/usr/share/mc/extfs/uzip". For the truly lazy people I prepared this little commandline fixing that (no need to open the editor):

sudo sed '/op_has_zipinfo/{s:0:1:}' /usr/share/mc/extfs/uzip >x && sudo chmod 755 x && sudo mv x /usr/share/mc/extfs/uzip


Fork me on GitHub
Fork me on GitHub