Install novajoin-ipa-setup script in /usr/libexec

Since novajoin is branchless, we need to support
older releases, which may call this script from the
old location. Additional novajoin-ipa-setup script is
installed in the old location for backward compatibility
and calls the new "compiled" script in the default bin
directory.

Change-Id: I0a25ffb1f5fd3f8723bff8a1bcfc6dfc486b2b4a
This commit is contained in:
Grzegorz Grasza 2018-12-04 12:30:22 +01:00
parent 22a90c2508
commit e34047457c
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,6 @@
#!/bin/sh
# This script is installed in /usr/libexec for backward compatibility.
# It calls novajoin-ipa-setup from the default $PATH.
novajoin-ipa-setup $@

View File

@ -34,6 +34,7 @@ data_files =
/etc/novajoin =
files/join-api-paste.ini
files/cloud-config-novajoin.json
/usr/libexec = scripts/compat/novajoin-ipa-setup
/usr/share/man/man1 =
man/novajoin-install.1
man/novajoin-notify.1