mirror of
https://github.com/searxng/searxng.git
synced 2025-09-10 20:28:25 +02:00
[fix] apply shell formating / shfmt (make format.shell)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
cd062d7349
commit
8c2c3430da
16 changed files with 492 additions and 419 deletions
|
@ -37,16 +37,16 @@ setup_ownership() {
|
|||
local type="$2"
|
||||
|
||||
case "$type" in
|
||||
file | directory) ;;
|
||||
*)
|
||||
cat <<EOF
|
||||
file | directory) ;;
|
||||
*)
|
||||
cat <<EOF
|
||||
!!!
|
||||
!!! ERROR
|
||||
!!! "$type" is not a valid type, exiting...
|
||||
!!!
|
||||
EOF
|
||||
exit 1
|
||||
;;
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
target_ownership=$(stat -c %U:%G "$target")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue