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

#!/usr/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: 15

Name Size Perms Modified Actions
bin DIR
- drwxr-xr-x 2024-03-03 22:41:56
Edit Download
- drwxr-xr-x 2024-03-03 22:41:56
Edit Download
html DIR
- drwxr-xr-x 2024-03-03 22:41:53
Edit Download
lib DIR
- drwxr-xr-x 2024-03-03 22:41:56
Edit Download
man DIR
- drwxr-xr-x 2024-03-03 22:38:11
Edit Download
- drwxr-xr-x 2024-03-03 22:41:56
Edit Download
- drwxr-xr-x 2024-03-03 22:41:56
Edit Download
scripts DIR
- drwxr-xr-x 2024-03-03 22:41:56
Edit Download
245 B lrw-r--r-- 2021-09-28 10:29:09
Edit Download
3.20 KB lrw-r--r-- 2021-09-28 10:29:58
Edit Download
357 B lrw-r--r-- 2021-09-28 10:29:54
Edit Download
1.32 KB lrw-r--r-- 2021-09-28 10:29:54
Edit Download
959 B lrw-r--r-- 2021-09-28 10:29:11
Edit Download
25.19 KB lrw-r--r-- 2021-09-28 10:29:54
Edit Download
137.34 KB lrw-r--r-- 2021-09-28 10:29:58
Edit Download
525 B lrwxr-xr-x 2021-09-28 10:29:54
Edit Download
4.38 KB lrw-r--r-- 2021-09-28 10:29:58
Edit Download
0 B ?????????? 2026-04-03 07:03:01
Edit Download
9.51 KB lrw-r--r-- 2021-09-28 10:29:54
Edit Download
156 B lrw-r--r-- 2021-09-28 10:29:09
Edit Download
4.02 KB lrw-r--r-- 2021-09-28 10:29:58
Edit Download
7.77 KB lrw-r--r-- 2021-09-28 10:29:59
Edit Download
4.58 KB lrw-r--r-- 2021-09-28 10:29:09
Edit Download

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