Skip to content

Commit

Permalink
Merge pull request #1887 from kubiko/deb-build-cleanup
Browse files Browse the repository at this point in the history
debian: use 'install -D' instead 'mkdir + install'
  • Loading branch information
ogayot authored Jan 24, 2024
2 parents 162f00b + 9d34332 commit ed5329d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,8 @@ override_dh_python3:
override_dh_installinit:
dh_installsystemd --no-start --name=console-conf@
dh_installsystemd --no-start --name=serial-console-conf@
mkdir $(CURDIR)/debian/console-conf/usr/lib/systemd/system/[email protected]/
install -m 0644 $(CURDIR)/debian/console-conf.conf $(CURDIR)/debian/console-conf/usr/lib/systemd/system/[email protected]/
mkdir $(CURDIR)/debian/console-conf/usr/lib/systemd/system/[email protected]/
install -m 0644 $(CURDIR)/debian/console-conf-serial.conf $(CURDIR)/debian/console-conf/usr/lib/systemd/system/[email protected]/
install -D -m 0644 $(CURDIR)/debian/console-conf.conf $(CURDIR)/debian/console-conf/usr/lib/systemd/system/[email protected]/console-conf.conf
install -D -m 0644 $(CURDIR)/debian/console-conf-serial.conf $(CURDIR)/debian/console-conf/usr/lib/systemd/system/[email protected]/console-conf-serial.conf

override_dh_auto_test:
@echo "No tests."

0 comments on commit ed5329d

Please sign in to comment.