PHP 8.2.30
Preview: configure Size: 529 B
/proc/thread-self/root/proc/self/root/opt/alt/alt-nodejs14/root/lib/node_modules/npm/configure

#!/usr/bin/env 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 2026-03-14 07:02:07
Edit Download
- drwxr-xr-x 2026-03-14 07:02:07
Edit Download
lib DIR
- drwxr-xr-x 2026-03-14 07:02:07
Edit Download
man DIR
- drwxr-xr-x 2024-03-03 22:38:51
Edit Download
- drwxr-xr-x 2026-03-14 07:02:07
Edit Download
- drwxr-xr-x 2026-02-22 20:47:45
Edit Download
scripts DIR
- drwxr-xr-x 2026-03-14 07:02:07
Edit Download
- drwxr-xr-x 2026-03-14 07:02:07
Edit Download
245 B lrw-r--r-- 2026-02-22 20:40:27
Edit Download
3.20 KB lrw-r--r-- 2026-02-22 20:40:28
Edit Download
368 B lrw-r--r-- 2026-02-22 20:40:27
Edit Download
0 B lrw-r--r-- 2026-02-22 20:40:38
Edit Download
269 B lrw-r--r-- 2026-02-22 20:40:28
Edit Download
26.73 KB lrw-r--r-- 2026-02-22 20:40:27
Edit Download
160.73 KB lrw-r--r-- 2026-02-22 20:40:29
Edit Download
529 B lrwxr-xr-x 2026-02-22 20:40:38
Edit Download
9.29 KB lrw-r--r-- 2026-02-22 20:40:29
Edit Download
9.51 KB lrw-r--r-- 2026-02-22 20:40:27
Edit Download
156 B lrw-r--r-- 2026-02-22 20:40:27
Edit Download
3.85 KB lrw-r--r-- 2026-02-22 20:40:27
Edit Download
8.02 KB lrw-r--r-- 2026-02-22 20:40:38
Edit Download
4.39 KB lrw-r--r-- 2026-02-22 20:40:27
Edit Download

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