]> git.pld-linux.org Git - packages/chkconfig.git/blob - chkconfig-split-usr.patch
unbreak systemd-sysv-install symlink; rel 2
[packages/chkconfig.git] / chkconfig-split-usr.patch
1 --- chkconfig-1.25/Makefile.orig        2023-10-07 21:02:30.061494548 +0200
2 +++ chkconfig-1.25/Makefile     2023-10-07 21:06:10.476967121 +0200
3 @@ -59,8 +59,8 @@ install:
4         [ -d $(DESTDIR)/$(ALTDATADIR) ] || mkdir -p -m 755 $(DESTDIR)/$(ALTDATADIR)
5         [ -d $(DESTDIR)/$(SYSTEMDUTILDIR) ] || mkdir -p -m 755 $(DESTDIR)/$(SYSTEMDUTILDIR)
6  
7 -       install -m 755 $(PROG) $(DESTDIR)/$(SBINDIR)/$(PROG)
8 -       ln -s ../../..$(SBINDIR)/$(PROG) $(DESTDIR)/$(SYSTEMDUTILDIR)/systemd-sysv-install
9 +       install -m 755 $(PROG) $(DESTDIR)/$(BINDIR)/$(PROG)
10 +       ln -s $(shell realpath -m --relative-to="$(SYSTEMDUTILDIR)" "$(BINDIR)")/$(PROG) $(DESTDIR)/$(SYSTEMDUTILDIR)/systemd-sysv-install
11  
12         install -m 755 ntsysv $(DESTDIR)/$(SBINDIR)/ntsysv
13         install -m 755 alternatives $(DESTDIR)/$(SBINDIR)/alternatives
This page took 0.118763 seconds and 3 git commands to generate.