diff --git a/apt-dater-history-prune b/apt-dater-history-prune index fb11bfc..74ffeca 100755 --- a/apt-dater-history-prune +++ b/apt-dater-history-prune @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Prune old apt-dater history MTIME=+365 diff --git a/connections-without-ipv6-privacy b/connections-without-ipv6-privacy index f77393d..f8242ba 100755 --- a/connections-without-ipv6-privacy +++ b/connections-without-ipv6-privacy @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # list all redhat/networkmanager connections without ipv6 privacy set -e cd /etc/sysconfig/network-scripts diff --git a/crontab-suggest b/crontab-suggest index c45bf00..ca21666 100755 --- a/crontab-suggest +++ b/crontab-suggest @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # suggest a random time for a cronjob set -u diff --git a/dbus-discover b/dbus-discover index 7e19bb2..b75d15d 100755 --- a/dbus-discover +++ b/dbus-discover @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Discover DBUS session bus # Source: can't remember where this from... diff --git a/dnf-leaves-grepped b/dnf-leaves-grepped index e9de034..2ea2e83 100755 --- a/dnf-leaves-grepped +++ b/dnf-leaves-grepped @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Poor boy's debfoster for dnf OK_LEAVES=( diff --git a/gen-yum b/gen-yum index 233c858..2fecb36 100755 --- a/gen-yum +++ b/gen-yum @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Setup YUM/DNF repository GPG_KEY=F77BB18D diff --git a/pdfjoin-aligned b/pdfjoin-aligned index 752ca5d..f401074 100755 --- a/pdfjoin-aligned +++ b/pdfjoin-aligned @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # join pdfs and insert an empty (one-page) pdf for pdfs with an odd page number # create an empty (one-page) pdf diff --git a/pdfnup-slides b/pdfnup-slides index 9c5e076..61a86b9 100755 --- a/pdfnup-slides +++ b/pdfnup-slides @@ -1,4 +1,5 @@ -#!/bin/bash +#!/usr/bin/env bash +# make a printable pdf for powerpoint slides, 2 slides on each page file=$1 diff --git a/randint b/randint index ab95870..f6346ad 100755 --- a/randint +++ b/randint @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Give a random integer between 1 and $1 inclusive min=1