wok diff pigz/receipt @ rev 24363
updated fftw and fftw-dev (3.3.8 -> 3.3.10)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 04 15:51:08 2022 +0100 (2022-02-04) |
parents | 86790a278e70 |
children | 453c249b6219 |
line diff
1.1 --- a/pigz/receipt Tue Aug 07 23:03:21 2018 +0200 1.2 +++ b/pigz/receipt Fri Feb 04 15:51:08 2022 +0100 1.3 @@ -28,3 +28,14 @@ 1.4 cp $src/pigz $fs/usr/bin 1.5 ln -s pigz $fs/usr/bin/unpigz 1.6 } 1.7 + 1.8 +pre_remove() 1.9 +{ 1.10 + sed -i '/gzip=pigz/d' $1/etc/profile 1.11 +} 1.12 + 1.13 +post_install() 1.14 +{ 1.15 + grep -qs 'gzip=pigz' $1/etc/profile || 1.16 + echo 'alias gzip=pigz' >> $1/etc/profile 1.17 +}