You are not logged in.

#1 2012-10-13 14:25:17

xartii
Member
Registered: 2012-01-18
Posts: 19

[solved] PKGBUILD how to check if systemd is installed

Hi,
I'm in process of updating psad package in aur repository. However I encountered a problem. Is it possible to check if user has systemd installed? I'm asking because arch is in the process of migrating from sysV to systemd and I'd like to include both scripts in the package and choose the correct one depending on wether user has systemd or not.

So is it possible to check it from PKGBUILD file?
Or maybe I should forget about SysVinit and include only systemd service file?

Peace,
xartii

Last edited by xartii (2012-10-13 16:40:05)

Offline

#2 2012-10-13 14:26:08

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [solved] PKGBUILD how to check if systemd is installed

Please don't do this. Just include both.

Offline

#3 2012-10-13 16:37:51

xartii
Member
Registered: 2012-01-18
Posts: 19

Re: [solved] PKGBUILD how to check if systemd is installed

Ok, so that's what I'll do. I just wanted to make my self sure I'll do the right thing.

Thanks,
xartii

Offline

Board footer

Powered by FluxBB