🐛 use 'env bash'
This commit is contained in:
parent
21b373abac
commit
acd922f550
9 changed files with 10 additions and 9 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# Prune old apt-dater history
|
# Prune old apt-dater history
|
||||||
MTIME=+365
|
MTIME=+365
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# list all redhat/networkmanager connections without ipv6 privacy
|
# list all redhat/networkmanager connections without ipv6 privacy
|
||||||
set -e
|
set -e
|
||||||
cd /etc/sysconfig/network-scripts
|
cd /etc/sysconfig/network-scripts
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# suggest a random time for a cronjob
|
# suggest a random time for a cronjob
|
||||||
|
|
||||||
set -u
|
set -u
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# Discover DBUS session bus
|
# Discover DBUS session bus
|
||||||
# Source: can't remember where this from...
|
# Source: can't remember where this from...
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# Poor boy's debfoster for dnf
|
# Poor boy's debfoster for dnf
|
||||||
|
|
||||||
OK_LEAVES=(
|
OK_LEAVES=(
|
||||||
|
|
2
gen-yum
2
gen-yum
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# Setup YUM/DNF repository
|
# Setup YUM/DNF repository
|
||||||
|
|
||||||
GPG_KEY=F77BB18D
|
GPG_KEY=F77BB18D
|
||||||
|
|
|
@ -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
|
# join pdfs and insert an empty (one-page) pdf for pdfs with an odd page number
|
||||||
|
|
||||||
# create an empty (one-page) pdf
|
# create an empty (one-page) pdf
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
# make a printable pdf for powerpoint slides, 2 slides on each page
|
||||||
|
|
||||||
file=$1
|
file=$1
|
||||||
|
|
||||||
|
|
2
randint
2
randint
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# Give a random integer between 1 and $1 inclusive
|
# Give a random integer between 1 and $1 inclusive
|
||||||
|
|
||||||
min=1
|
min=1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue