dict


Logs | Files | README | LICENSE | GitLab


1
commit 07082b85208fa4592f4e53f765e0cfc98f63f5ac
2
Author: Connor Etherington <[email protected]>
3
Date:   Sun Jan 28 01:28:43 2024 +0200
4
5
    Auto-Commit Update - 20240128
6
---
7
 dict.install | 4 ++--
8
 1 file changed, 2 insertions(+), 2 deletions(-)
9
10
diff --git a/dict.install b/dict.install
11
index 48736bb..81de7d7 100644
12
--- a/dict.install
13
+++ b/dict.install
14
@@ -1,12 +1,12 @@
15
 post_install(){
16
   cd /usr/lib/node_modules/dict
17
-  which yarn >/dev/null 2>&1 && yarn install || npm install
18
+  npm install --user ./ --global
19
   echo -e "\n[+] Thank you for using dict!\n"
20
 }
21
 
22
 post_upgrade(){
23
   cd /usr/lib/node_modules/dict
24
-  which yarn >/dev/null 2>&1 && yarn install || npm install
25
+  npm install --user ./ --global
26
 }
27
 
28
 pre_remove(){