Browse Source

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
Grzegorz Grasza 4 months ago
parent
commit
e34047457c
2 changed files with 7 additions and 0 deletions
  1. 6
    0
      scripts/compat/novajoin-ipa-setup
  2. 1
    0
      setup.cfg

+ 6
- 0
scripts/compat/novajoin-ipa-setup View File

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

+ 1
- 0
setup.cfg View File

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

Loading…
Cancel
Save