#
# Adds 7zip extfs descriptor
#
# Source: Gentoo Portage
# Reference: mc-4.6.1
# Submit-By: Enrico Weigelt, metux IT service <weigelt metux de>
# Submit-Date: 2008-12-26
# State: new
#
diff -ruN mc-4.6.1.orig/lib/mc.ext.in mc-4.6.1/lib/mc.ext.in
old
|
new
|
|
246 | 246 | shell/.info |
247 | 247 | Open=info -f %f |
248 | 248 | |
| 249 | # 7-Zip, Needs to be before manual page definitions |
| 250 | regex/\.(7z|7Z)$ |
| 251 | View=%view{ascii} 7za l %f 2>/dev/null |
| 252 | Open=%cd %p#u7z |
| 253 | |
| 254 | |
249 | 255 | # Manual page |
250 | 256 | # Exception - .so libraries are not manual pages |
251 | 257 | regex/\.(so|so\.[0-9\.]*)$ |
diff -ruN mc-4.6.1.orig/vfs/extfs/extfs.ini mc-4.6.1/vfs/extfs/extfs.ini
old
|
new
|
|
7 | 7 | ulha |
8 | 8 | urar |
9 | 9 | uha |
| 10 | u7z |
10 | 11 | # For arj usage you need a special patch to unarj (see unarj.diff) |
11 | 12 | uarj |