mirror of
https://github.com/Ravinou/borgwarehouse
synced 2024-06-15 20:25:19 +02:00
Set stable shebang
This commit is contained in:
parent
2129ed845b
commit
9e51a89fb2
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Shell created by Raven for BorgWarehouse.
|
# Shell created by Raven for BorgWarehouse.
|
||||||
# This shell takes 3 arguments : [reponame] X [SSH pub key] X [quota]
|
# This shell takes 3 arguments : [reponame] X [SSH pub key] X [quota]
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Shell created by Raven for BorgWarehouse.
|
# Shell created by Raven for BorgWarehouse.
|
||||||
# This shell takes 1 arg : [user] with 8 char. length only.
|
# This shell takes 1 arg : [user] with 8 char. length only.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Shell created by Raven for BorgWarehouse.
|
# Shell created by Raven for BorgWarehouse.
|
||||||
# Get the timestamp of the last modification of the file integrity.* for of all repositories in a JSON output.
|
# Get the timestamp of the last modification of the file integrity.* for of all repositories in a JSON output.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Shell created by Raven for BorgWarehouse.
|
# Shell created by Raven for BorgWarehouse.
|
||||||
# Get the size of all repositories in a JSON output.
|
# Get the size of all repositories in a JSON output.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
##############################################################################################################
|
##############################################################################################################
|
||||||
# What is this script ?
|
# What is this script ?
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Shell created by Raven for BorgWarehouse.
|
# Shell created by Raven for BorgWarehouse.
|
||||||
# This shell takes 2 args : [user] [new SSH pub key] [quota]
|
# This shell takes 2 args : [user] [new SSH pub key] [quota]
|
||||||
|
@ -25,7 +25,7 @@ then
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check if username length is 8 char. With createRepo.sh our randoms have a length of 8 characters.
|
# Check if username length is 8 char. With createRepo.sh our randoms have a length of 8 characters.
|
||||||
# If we receive another length there is necessarily a problem.
|
# If we receive another length there is necessarily a problem.
|
||||||
username=$1
|
username=$1
|
||||||
if [ ${#username} != 8 ]
|
if [ ${#username} != 8 ]
|
||||||
|
|
Loading…
Reference in a new issue