- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 86 for if (0.13 sec)
-
dockerscripts/docker-entrypoint.sh
#!/bin/sh # # If command starts with an option, prepend minio. if [ "${1}" != "minio" ]; then if [ -n "${1}" ]; then set -- minio "$@" fi fi docker_switch_user() { if [ -n "${MINIO_USERNAME}" ] && [ -n "${MINIO_GROUPNAME}" ]; then if [ -n "${MINIO_UID}" ] && [ -n "${MINIO_GID}" ]; then chroot --userspec=${MINIO_UID}:${MINIO_GID} / "$@" else echo "${MINIO_USERNAME}:x:1000:1000:${MINIO_USERNAME}:/:/sbin/nologin" >>/etc/passwd
Shell Script - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Nov 03 21:18:18 GMT 2023 - 675 bytes - Viewed (0) -
src/main/assemblies/files/generate-thumbnail
image_size=100x100 target_file=$(echo "$url" | sed -e "s#^file:/*#/#g") check_command() { cmd=$1 cmd_path=$(command -v "${cmd}") if [[ ! -e "${cmd_path}" ]] ; then echo "${cmd} does not exist." exit 1 fi } if [[ x"$HOME" = "x/root" ]] ; then HOME=/var/lib/fess fi if [[ x"${cmd_type}" = "xmsoffice" ]] ; then check_command convert check_command pdftoppm check_command unoconv
Shell Script - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Mon Jun 12 13:13:28 GMT 2023 - 2.5K bytes - Viewed (0) -
common/scripts/tracing.sh
# limitations under the License. # Usage: tracing::extract_prow_trace. # If running in a prow job, this sets the parent trace to the same value Prow tracing will use, as defined in https://github.com/kubernetes/test-infra/issues/30010 function tracing::extract_prow_trace() { if [[ "${PROW_JOB_ID:-}" != "" ]]; then local trace trace="$(<<< "$PROW_JOB_ID" tr -d '\-')" local span
Shell Script - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jul 28 15:25:47 GMT 2023 - 4.1K bytes - Viewed (0) -
docs/site-replication/run-ssec-object-replication.sh
count1=$(./mc ls minio1/test-bucket/plainfile --insecure | wc -l) if [ "${count1}" -ne 1 ]; then echo "BUG: object minio1/test-bucket/plainfile not found" exit_1 fi count2=$(./mc ls minio1/test-bucket/encrypted --insecure | wc -l) if [ "${count2}" -ne 1 ]; then echo "BUG: object minio1/test-bucket/encrypted not found" exit_1 fi count3=$(./mc ls minio1/test-bucket/defpartsize --insecure | wc -l) if [ "${count3}" -ne 1 ]; then
Shell Script - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 19 08:43:09 GMT 2024 - 9.7K bytes - Viewed (1) -
bin/update_crds.sh
# first check if there's a replace: e.g. replace istio.io/api => github.com/USER/istioapi v0.0.0-<timestamp>-<SHA> SHA=$(grep "istio.io/api" go.mod | grep "^replace" | awk -F "-" '{print $NF}') if [ -n "${SHA}" ]; then REPO=$(grep "istio.io/api" go.mod | grep "^replace" | awk '{print $4}') else SHA=$(grep "istio.io/api" go.mod | head -n1 | awk '{ print $2 }')
Shell Script - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Apr 22 14:28:27 GMT 2024 - 3.4K bytes - Viewed (0) -
docs/bucket/replication/setup_2site_existing_replication.sh
./mc ls -r --versions siteb/bucket-version/ >/tmp/siteb_dirs.txt out=$(diff -qpruN /tmp/sitea_dirs.txt /tmp/siteb_dirs.txt) ret=$? if [ $ret -ne 0 ]; then echo "BUG: expected no 'diff' after replication: $out" exit 1 fi ## check if we don't create delete markers on the directory objects, its always permanent delete. ./mc mb sitea/bucket-version/directory/ sleep 2s
Shell Script - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Mar 04 18:05:56 GMT 2024 - 5.6K bytes - Viewed (0) -
ci/official/containers/linux_arm64/build.sh
} # Move into the directory of the script cd "$(dirname "$0")" if is_continuous_or_release || [[ -z "$KOKORO_BUILD_ID" ]]; then # A continuous job is the only one to publish to latest TAG="latest-multi-python" else # If it is a change, grab a good tag for iterative builds if [[ -z "${KOKORO_GITHUB_PULL_REQUEST_NUMBER}" ]]; then
Shell Script - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Fri Nov 03 13:38:49 GMT 2023 - 2.3K bytes - Viewed (0) -
apache-maven/src/assembly/shared/validate
Shell Script - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Dec 21 09:29:19 GMT 2021 - 1.7K bytes - Viewed (0) -
common/scripts/lint_copyright_banner.sh
# See the License for the specific language governing permissions and # limitations under the License. set -e ec=0 for fn in "$@"; do if ! grep -L -q -e "Apache License, Version 2" "${fn}"; then echo "Missing license: ${fn}" ec=1 fi if ! grep -L -q -e "Copyright" "${fn}"; then echo "Missing copyright: ${fn}" ec=1 fi done
Shell Script - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Sep 11 23:32:21 GMT 2019 - 1.2K bytes - Viewed (0) -
common/scripts/fix_copyright_banner.sh
# limitations under the License. set -e WD=$(dirname "$0") WD=$(cd "$WD"; pwd) for fn in "$@"; do if ! grep -L -q -e "Apache License, Version 2" -e "Copyright" "${fn}"; then if [[ "${fn}" == *.go || "${fn}" == *.rs ]]; then newfile=$(cat "${WD}/copyright-banner-go.txt" "${fn}") echo "${newfile}" > "${fn}" echo "Fixing license: ${fn}" else
Shell Script - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Nov 17 04:35:57 GMT 2022 - 1.3K bytes - Viewed (0)