From c037fa5f27dfe593517fb6d45cfc9fb6ae33e4ab Mon Sep 17 00:00:00 2001 From: fabio Date: Tue, 9 Jun 2020 07:23:52 +0200 Subject: [PATCH] fixed installer --- README.md | 2 +- installer | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e50145b..fed3766 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ One liner: ```shell -wget -O- https://raw.githubusercontent.com/fabiocicerchia/utils/master/installer | sudo sh +wget -O - https://raw.githubusercontent.com/fabiocicerchia/utils/master/installer | sudo sh ``` ## Tools diff --git a/installer b/installer index e2684cf..ccc9b71 100644 --- a/installer +++ b/installer @@ -5,6 +5,8 @@ cd /tmp/utils-installer wget https://github.com/fabiocicerchia/utils/archive/master.zip unzip master.zip && rm master.zip cd utils-master/ +pip3 install -r requirements.txt rm installer *.* -cd /tmp/utils-installer/utils-master /opt/utils-master -echo "PATH=\$PATH:/opt/utils-master" | tee -a /etc/profile +cp -r /tmp/utils-installer/utils-master /opt/utils-master +echo "PATH=\$PATH:/opt/utils-master" | tee -a /etc/paths.d/utils-master +rm -rf /tmp/utils-installer