PHP 8.2.30
Preview: configure Size: 521 B
/proc/thread-self/root/proc/self/root/opt/alt/alt-nodejs11/root/usr/lib/node_modules/npm/configure

#!/bin/bash

# set configurations that will be "sticky" on this system,
# surviving npm self-updates.

CONFIGS=()
i=0

# get the location of this file.
unset CDPATH
CONFFILE=$(cd $(dirname "$0"); pwd -P)/npmrc

while [ $# -gt 0 ]; do
  conf="$1"
  case $conf in
    --help)
      echo "./configure --param=value ..."
      exit 0
      ;;
    --*)
      CONFIGS[$i]="${conf:2}"
      ;;
    *)
      CONFIGS[$i]="$conf"
      ;;
  esac
  let i++
  shift
done

for c in "${CONFIGS[@]}"; do
  echo "$c" >> "$CONFFILE"
done

Directory Contents

Dirs: 8 × Files: 14

Name Size Perms Modified Actions
bin DIR
- drwxr-xr-x 2024-03-03 22:41:37
Edit Download
- drwxr-xr-x 2024-03-03 22:41:37
Edit Download
html DIR
- drwxr-xr-x 2024-03-03 22:41:33
Edit Download
lib DIR
- drwxr-xr-x 2024-03-03 22:41:37
Edit Download
man DIR
- drwxr-xr-x 2024-03-03 22:38:14
Edit Download
- drwxr-xr-x 2024-03-03 22:41:37
Edit Download
- drwxr-xr-x 2024-03-03 22:41:36
Edit Download
scripts DIR
- drwxr-xr-x 2024-03-03 22:41:37
Edit Download
267 B lrw-r--r-- 2021-10-19 09:47:43
Edit Download
3.11 KB lrw-r--r-- 2021-10-19 09:48:06
Edit Download
324 B lrw-r--r-- 2021-10-19 09:48:03
Edit Download
1.25 KB lrw-r--r-- 2021-10-19 09:48:03
Edit Download
959 B lrw-r--r-- 2021-10-19 09:47:44
Edit Download
22.99 KB lrw-r--r-- 2021-10-19 09:48:03
Edit Download
82.22 KB lrw-r--r-- 2021-10-19 09:48:06
Edit Download
521 B lrwxr-xr-x 2021-10-19 09:48:03
Edit Download
4.38 KB lrw-r--r-- 2021-10-19 09:48:07
Edit Download
9.51 KB lrw-r--r-- 2021-10-19 09:48:03
Edit Download
156 B lrw-r--r-- 2021-10-19 09:47:43
Edit Download
5.48 KB lrw-r--r-- 2021-10-19 09:48:06
Edit Download
7.36 KB lrw-r--r-- 2021-10-19 09:48:07
Edit Download
4.59 KB lrw-r--r-- 2021-10-19 09:47:43
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).