]> git.puffer.fish Git - mirror/frr.git/commitdiff
debian: fix python3 shebang in new files
authorDavid Lamparter <equinox@opensourcerouting.org>
Mon, 2 Jan 2023 12:48:27 +0000 (13:48 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Mon, 2 Jan 2023 12:53:25 +0000 (13:53 +0100)
Already done for existing python scripts in the install, just need to
add new .py files.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
debian/rules

index 3ccfaa20067617bd55e562f4af96467ae668e6bd..71ee2117ee9e03e5110bce2c7152005aeb3f2a88 100755 (executable)
@@ -76,6 +76,8 @@ override_dh_auto_install:
 
        sed -e '1c #!/usr/bin/python3' -i debian/tmp/usr/lib/frr/frr-reload.py
        sed -e '1c #!/usr/bin/python3' -i debian/tmp/usr/lib/frr/generate_support_bundle.py
+       sed -e '1c #!/usr/bin/python3' -i debian/tmp/usr/lib/frr/frr_babeltrace.py
+       sed -e '1c #!/usr/bin/python3' -i debian/tmp/usr/lib/frr/ospfclient.py
 
 # let dh_systemd_* and dh_installinit do their thing automatically
        cp build/tools/frr.service debian/frr.service