aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorawy <awy@awy.one>2024-11-25 00:28:08 +0300
committerawy <awy@awy.one>2024-11-25 00:28:08 +0300
commit01d5c2ab45329fc7aadd5f8d2257c682c68b3ed1 (patch)
treefcd4b32874d46d9fdd17a4cf50fa7a3508842e1f
parenta9163940d9ecb550d6e6c3e059fc3c4394e7bf1d (diff)
fix
-rwxr-xr-xrice.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/rice.sh b/rice.sh
index 38b6089..d3e3580 100755
--- a/rice.sh
+++ b/rice.sh
@@ -65,10 +65,10 @@ max-cache-ttl 34560000
EOL
cat <<EOL >> /home/$PERMUSER/.config/npm/npmrc
-prefix=${XDG_DATA_HOME}/npm
-cache=${XDG_CACHE_HOME}/npm
-init-module=${XDG_CONFIG_HOME}/npm/config/npm-init.js
-logs-dir=${XDG_STATE_HOME}/npm/logs
+prefix=\${XDG_DATA_HOME}/npm
+cache=\${XDG_CACHE_HOME}/npm
+init-module=\${XDG_CONFIG_HOME}/npm/config/npm-init.js
+logs-dir=\${XDG_STATE_HOME}/npm/logs
EOL
doas -u $PERMUSER find /home/$PERMUSER/.gnupg -type f -exec chmod 600 {} \;