Re: захолдить изменени я в пакете

Alexander Gerasiov <[email protected]>
Newsgroups gmane.linux.debian.user.russian
Message-ID <[email protected]>
On Mon, 23 Dec 2019 18:31:09 +0200
Sohin Vyacheslav <[email protected]> wrote:

> Приветствую,
> 
> На системе c Debian 9.11 я изменил файл /usr/bin/sa-compile, входящий
> в пакет sa-compile. Я хотел бы, чтобы при следующем обновлении пакета 
> sa-compile эти изменения сохранились.
> 
> Для этого просто достаточно захолдить пакет:
> $ sudo apt-mark hold sa-compile
> 
> или стоит например написать bash скрипт, который будет изменять 
> sa-compile файл из обновленного пакета? Может есть еще какие-то
> способы?
Переименовать sa-compile в sa-compile.orig при помощи dpkg-divert.
Положить рядом под оригинальным именем свой модифицированный.

-- 
Best regards,
 Alexander Gerasiov

 Contacts:
 e-mail: [email protected]  WWW: http://gerasiov.net  TG/Skype: gerasiov
 PGP fingerprint: 04B5 9D90 DF7C C2AB CD49  BAEA CA87 E9E8 2AAC 33F1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.