Skip to content

Commit

Permalink
Have symlinks be created in /usr/sbin again
Browse files Browse the repository at this point in the history
The new Makefile does not create those symlinks anymore
  • Loading branch information
pierre-labastie committed Feb 4, 2024
1 parent 6715d9f commit 3ab19e8
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,11 @@ install: all
cp -av --no-preserve=ownership lsbtools \
-T $(DESTDIR)/$(PYLIB_DIR)/lsbtools
install -D -vm755 lsb_release.ent $(DESTDIR)/usr/bin/lsb_release
install -vdm 755 $(DESTDIR)/usr/sbin
for i in install_initd lsbinstall remove_initd; do \
install -D -vm755 $$i.ent $(DESTDIR)/usr/lib/lsb/$$i;\
rm -fv $(DESTDIR)/usr/sbin/$$i; \
ln -sv ../lib/lsb/$$i $(DESTDIR)/usr/sbin; \
done
mkdir -pv $(DESTDIR)/usr/share/man/man1
install -vm644 man/lsb_release.1 $(DESTDIR)/usr/share/man/man1
Expand Down
2 changes: 1 addition & 1 deletion lsbtools/lsbtools.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def get_matrix(initdDir, debug):
return matrix

def get_prog_ver(strprogram):
progver = strprogram + " " + " (LSB-Tools-0.11)"
progver = strprogram + " " + " (LSB-Tools-0.12)"
return progver

def install_font(argobject):
Expand Down
4 changes: 2 additions & 2 deletions man/install_initd.8
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.4.
.TH INSTALL_INITD "8" "February 2024" "install_initd (LSB-Tools-0.11)" "LSB-Tools"
.TH INSTALL_INITD "8" "February 2024" "install_initd (LSB-Tools-0.12)" "LSB-Tools"
.SH NAME
install_initd \- manual page for install_initd (LSB-Tools-0.11)
install_initd \- manual page for install_initd (LSB-Tools-0.12)
.SH DESCRIPTION
\fBinstall_initd\fR enables SERVICEs to be run at system initialization
and shutdown. Each SERVICE corresponds to a Linux Standard Base (LSB)
Expand Down
4 changes: 2 additions & 2 deletions man/lsb_release.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.4.
.TH LSB_RELEASE "1" "February 2024" "lsb_release (LSB-Tools-0.11)" "LSB-Tools"
.TH LSB_RELEASE "1" "February 2024" "lsb_release (LSB-Tools-0.12)" "LSB-Tools"
.SH NAME
lsb_release \- manual page for lsb_release (LSB-Tools-0.11)
lsb_release \- manual page for lsb_release (LSB-Tools-0.12)
.SH DESCRIPTION

lsb_release prints certain LSB (Linux Standard Base) and Distribution
Expand Down
4 changes: 2 additions & 2 deletions man/remove_initd.8
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.4.
.TH REMOVE_INITD "8" "February 2024" "remove_initd (LSB-Tools-0.11)" "LSB-Tools"
.TH REMOVE_INITD "8" "February 2024" "remove_initd (LSB-Tools-0.12)" "LSB-Tools"
.SH NAME
remove_initd \- manual page for remove_initd (LSB-Tools-0.11)
remove_initd \- manual page for remove_initd (LSB-Tools-0.12)
.SH DESCRIPTION
\fBremove_initd\fR disables SERVICEs from running at system
initialization and shutdown. Each SERVICE corresponds to a Linux
Expand Down

0 comments on commit 3ab19e8

Please sign in to comment.