wok-next diff mc/receipt @ rev 18481
bash: post_install() not [ fails ] when you refuse to make bash default
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Oct 08 04:06:36 2015 +0300 (2015-10-08) |
parents | d12ce34a0d9a |
children | 1a6705a92d7c |
line diff
1.1 --- a/mc/receipt Mon Mar 23 14:16:56 2015 +0100 1.2 +++ b/mc/receipt Thu Oct 08 04:06:36 2015 +0300 1.3 @@ -21,6 +21,8 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 + sed -i 's/lzma -cd/lzcat/' $src/src/editor/edit.c 1.8 + 1.9 ./configure \ 1.10 --prefix=/usr \ 1.11 --with-gpm-mouse \ 1.12 @@ -41,6 +43,7 @@ 1.13 cp -a $install/usr/share/mc $fs/usr/share 1.14 1.15 sed 's#|profile|#&receipt|#' -i $fs/usr/share/mc/syntax/Syntax 1.16 + sed 's/lzma -dc/lzcat/g' -i $fs/usr/lib/mc/ext.d/archive.sh 1.17 cp -a $stuff/*.desktop $fs/usr/share/applications 1.18 chown -R root:root $fs 1.19 }