- revert deb/uar change, but keep uar commented out as an alternative

(I prefer the "uar" way, should be faster too ;)

OBS-URL: https://build.opensuse.org/package/show/Base:System/mc?expand=0&rev=52
This commit is contained in:
David Haller 2012-07-23 12:47:22 +00:00 committed by Git OBS Bridge
parent ffb1ab4156
commit 8c889281f6
2 changed files with 3 additions and 3 deletions

View File

@ -6,8 +6,8 @@
regex/\.u?deb$ regex/\.u?deb$
- Open=%cd %p/deb:// - Open=%cd %p/deb://
- View=%view{ascii} dpkg-deb -I %f && echo && dpkg-deb -c %f - View=%view{ascii} dpkg-deb -I %f && echo && dpkg-deb -c %f
+ #Open=%cd %p/deb:// + Open=%cd %p/deb://
+ Open=%cd %p/uar:// + #Open=%cd %p/uar://
+ View=%view{ascii} if type -p dpkg-deb >/dev/null ; then dpkg-deb -I %f && echo && dpkg-deb -c %f ; else file %f && echo && ar tv %f ; fi + View=%view{ascii} if type -p dpkg-deb >/dev/null ; then dpkg-deb -I %f && echo && dpkg-deb -c %f ; else file %f && echo && ar tv %f ; fi
# dpkg # dpkg

View File

@ -22,7 +22,7 @@ License: GPL-3.0+
Group: Productivity/File utilities Group: Productivity/File utilities
Url: http://www.midnight-commander.org/ Url: http://www.midnight-commander.org/
Version: 4.8.1.4 Version: 4.8.1.4
Release: 0 Release: 0.0
Source: https://www.midnight-commander.org/downloads/mc-%{version}.tar.xz Source: https://www.midnight-commander.org/downloads/mc-%{version}.tar.xz
Source1: x11_browser Source1: x11_browser
Source2: %{name}.desktop Source2: %{name}.desktop