From 14f062908f980c4531e7cae74d854f25703d2271 Mon Sep 17 00:00:00 2001 From: Christoph Date: Wed, 2 Aug 2023 23:17:45 +0200 Subject: [PATCH] Rename snippet 'get-php-major-version' to 'get-php-major-version.sh'.. --- add_missing_columns.sh | 2 +- add_missing_indices.sh | 2 +- add_missing_primary-keys.sh | 2 +- add_user_to_group.sh | 2 +- check_encryption_scan_legacy-format.sh | 2 +- check_for_old_files.sh | 2 +- convert_filecache_bigint.sh | 2 +- remove_user_from_group.sh | 2 +- replace_favicon.sh | 2 +- replace_logo.sh | 2 +- restore_nextcloud.sh | 2 +- snippets/{get-php-major-version => get-php-major-version.sh} | 0 update_nextcloud.sh | 2 +- 13 files changed, 12 insertions(+), 12 deletions(-) rename snippets/{get-php-major-version => get-php-major-version.sh} (100%) diff --git a/add_missing_columns.sh b/add_missing_columns.sh index 1dba2b0..4ea3f2e 100755 --- a/add_missing_columns.sh +++ b/add_missing_columns.sh @@ -291,7 +291,7 @@ source ${snippet_dir}/get-webservice-environment.sh # Check PHP Version # -source ${snippet_dir}/get-php-major-version +source ${snippet_dir}/get-php-major-version.sh CURRENT_INSTALL_DIR="$(realpath ${WEB_BASE_DIR}/nextcloud)" diff --git a/add_missing_indices.sh b/add_missing_indices.sh index bb290ad..cf8db08 100755 --- a/add_missing_indices.sh +++ b/add_missing_indices.sh @@ -291,7 +291,7 @@ source ${snippet_dir}/get-webservice-environment.sh # Check PHP Version # -source ${snippet_dir}/get-php-major-version +source ${snippet_dir}/get-php-major-version.sh CURRENT_INSTALL_DIR="$(realpath ${WEB_BASE_DIR}/nextcloud)" CURRENT_VERSION="$(basename $CURRENT_INSTALL_DIR | cut -d"-" -f2)" diff --git a/add_missing_primary-keys.sh b/add_missing_primary-keys.sh index 373b287..c11661b 100755 --- a/add_missing_primary-keys.sh +++ b/add_missing_primary-keys.sh @@ -291,7 +291,7 @@ source ${snippet_dir}/get-webservice-environment.sh # Check PHP Version # -source ${snippet_dir}/get-php-major-version +source ${snippet_dir}/get-php-major-version.sh CURRENT_INSTALL_DIR="$(realpath ${WEB_BASE_DIR}/nextcloud)" diff --git a/add_user_to_group.sh b/add_user_to_group.sh index aaf02b9..b6685e2 100755 --- a/add_user_to_group.sh +++ b/add_user_to_group.sh @@ -423,7 +423,7 @@ fi # Check PHP Version # -source ${snippet_dir}/get-php-major-version +source ${snippet_dir}/get-php-major-version.sh CURRENT_INSTALL_DIR=`realpath ${WEB_BASE_DIR}/nextcloud` CURRENT_DATA_DIR=`realpath ${WEB_BASE_DIR}/data` diff --git a/check_encryption_scan_legacy-format.sh b/check_encryption_scan_legacy-format.sh index 9135700..b9250f7 100755 --- a/check_encryption_scan_legacy-format.sh +++ b/check_encryption_scan_legacy-format.sh @@ -304,7 +304,7 @@ source ${snippet_dir}/get-webservice-environment.sh # Check PHP Version # -source ${snippet_dir}/get-php-major-version +source ${snippet_dir}/get-php-major-version.sh if [[ -x "/usr/local/php-${PHP_VERSION}/bin/php" ]] ; then PHP_BIN="/usr/local/php-${PHP_VERSION}/bin/php" diff --git a/check_for_old_files.sh b/check_for_old_files.sh index 24236be..07219e7 100755 --- a/check_for_old_files.sh +++ b/check_for_old_files.sh @@ -305,7 +305,7 @@ source ${snippet_dir}/get-webservice-environment.sh # Check PHP Version # -source ${snippet_dir}/get-php-major-version +source ${snippet_dir}/get-php-major-version.sh if [[ -x "/usr/local/php-${PHP_VERSION}/bin/php" ]] ; then PHP_BIN="/usr/local/php-${PHP_VERSION}/bin/php" diff --git a/convert_filecache_bigint.sh b/convert_filecache_bigint.sh index 9929caf..b9a490a 100755 --- a/convert_filecache_bigint.sh +++ b/convert_filecache_bigint.sh @@ -304,7 +304,7 @@ source ${snippet_dir}/get-webservice-environment.sh # Check PHP Version # -source ${snippet_dir}/get-php-major-version +source ${snippet_dir}/get-php-major-version.sh if [[ -x "/usr/local/php-${PHP_VERSION}/bin/php" ]] ; then PHP_BIN="/usr/local/php-${PHP_VERSION}/bin/php" diff --git a/remove_user_from_group.sh b/remove_user_from_group.sh index 4de5339..576f5e0 100755 --- a/remove_user_from_group.sh +++ b/remove_user_from_group.sh @@ -332,7 +332,7 @@ source ${snippet_dir}/get-webservice-environment.sh # Check PHP Version # -source ${snippet_dir}/get-php-major-version +source ${snippet_dir}/get-php-major-version.sh CURRENT_INSTALL_DIR=`realpath ${WEB_BASE_DIR}/nextcloud` CURRENT_DATA_DIR=`realpath ${WEB_BASE_DIR}/data` diff --git a/replace_favicon.sh b/replace_favicon.sh index f66e8b6..c41921f 100755 --- a/replace_favicon.sh +++ b/replace_favicon.sh @@ -293,7 +293,7 @@ source ${snippet_dir}/get-webservice-environment.sh # Check PHP Version # -source ${snippet_dir}/get-php-major-version +source ${snippet_dir}/get-php-major-version.sh echo "" echo -e " \033[32m--\033[m" diff --git a/replace_logo.sh b/replace_logo.sh index cffa327..4337f37 100755 --- a/replace_logo.sh +++ b/replace_logo.sh @@ -293,7 +293,7 @@ source ${snippet_dir}/get-webservice-environment.sh # Check PHP Version # -source ${snippet_dir}/get-php-major-version +source ${snippet_dir}/get-php-major-version.sh echo "" diff --git a/restore_nextcloud.sh b/restore_nextcloud.sh index c10dfe7..56cdfc7 100755 --- a/restore_nextcloud.sh +++ b/restore_nextcloud.sh @@ -298,7 +298,7 @@ source ${snippet_dir}/get-webservice-environment.sh # Check PHP Version # -source ${snippet_dir}/get-php-major-version +source ${snippet_dir}/get-php-major-version.sh diff --git a/snippets/get-php-major-version b/snippets/get-php-major-version.sh similarity index 100% rename from snippets/get-php-major-version rename to snippets/get-php-major-version.sh diff --git a/update_nextcloud.sh b/update_nextcloud.sh index d892f52..82d6c11 100755 --- a/update_nextcloud.sh +++ b/update_nextcloud.sh @@ -383,7 +383,7 @@ source ${snippet_dir}/get-webservice-environment.sh # Check PHP Version # -source ${snippet_dir}/get-php-major-version +source ${snippet_dir}/get-php-major-version.sh # - Determin PHP binary