Downside of using invoke-rc.d (restart|reload) on systemd?

2023-07-16 Thread Andreas Metzler
Hello, if I would like to restart a daemon in a maintainerscript after dpkg-reconfigure is there a downside of simply using invoke-rc.d foo restart instead of something like if [ -d /run/systemd/system ]; then # systemd deb-systemd-invoke restart foo.service else # SysV

Re: dh_install by file suffix

2023-07-16 Thread Andreas Metzler
On 2023-07-15 Ole Streicher wrote: > Hi, > I am upgrading one of my packages (iraf) to a new version. The new version > comes with a "make install", which installs everything under /usr/lib/iraf/ > (and some other places). > The "iraf" source package needs to divide these files into user related

Re: dh_install by file suffix

2023-07-16 Thread Niels Thykier
Ole Streicher: Hi again, I think youe way could be to put the file list into a variable in d/rules, and expand the list the .install, like: -- debian/iraf.install - etc/iraf/ usr/lib/iraf/bin/ecl.e [... other fixed content] ${env:IRAF_FILES} ---