diff --git a/install.sh b/install.sh index 9cac41a..ee1ce88 100755 --- a/install.sh +++ b/install.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash echo "Copying Systemd units to system directory..." sudo cp systemd-templates/dns-update.service /etc/systemd/system/ diff --git a/main.sh b/main.sh index 11c3663..9842471 100755 --- a/main.sh +++ b/main.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash source "$(dirname "$0")/variables.conf" diff --git a/variables.conf.template b/variables.conf.template index d9c9d1f..c3f8f32 100644 --- a/variables.conf.template +++ b/variables.conf.template @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copy this file as variables.conf, with the correct values