1
0

fix: 统一脚本shebang为#!/usr/bin/env bash

This commit is contained in:
TsMask
2025-10-15 14:57:42 +08:00
parent b05211489e
commit 5a59f6547b
13 changed files with 13 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# Check if Docker is installed

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# Default Version

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
ServiceList="omc"
BinDir="/usr/local/bin"

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
declare -A NE_LIST
# Default network element number ne_id = 001

View File

@@ -1 +1 @@
#!/bin/bash
#!/usr/bin/env bash

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
OMCBinFile=/usr/local/bin/omc

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Defining a list of SSH
# ssh_user,ssh_ip

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# front-end Catalog

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# front-end Catalog

2
pkg.sh
View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# front-end Catalog

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# shellcheck disable=SC1091
set -o errexit

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# shellcheck disable=SC1091
set -o errexit

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
OMC_CONTAINER_NAME="omc"
MYSQL_CONTAINER_NAME="omc_mariadb"