Skip to content

Commit b22f8e0

Browse files
Merge pull request #31 from HPCNow/main
Change path to point dirk repo and increase spinner velocity
2 parents bffc0e5 + 932be89 commit b22f8e0

File tree

2 files changed

+10
-25
lines changed

2 files changed

+10
-25
lines changed

Diff for: README.md

+3-17
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,12 @@ After you installed the pre-requisites, close and open the terminal again to ref
3636
To install Froster, execute the following command into your terminal:
3737

3838
```
39-
curl -s https://raw.githubusercontent.com/HPCnow/froster/develop/install.sh | bash
39+
curl -s https://raw.githubusercontent.com/dirkpetersen/froster/develop/install.sh | bash
4040
4141
```
4242

43+
## Update (TODO)
44+
4345
</br>
4446

4547
## Table of Contents
@@ -104,22 +106,6 @@ There were three motivations behind the creation of `Froster`:
104106

105107
## Preparing Froster
106108

107-
### Installing
108-
109-
To install Froster, execute the following command into your terminal:
110-
111-
```
112-
curl -s https://raw.githubusercontent.com/HPCNow/froster/develop/froster | bash -s install && source ~/.bashrc
113-
```
114-
115-
### Updating
116-
117-
To update Froster there are 2 options: execute the installation command again or run the following command into your terminal:
118-
119-
```
120-
froster update
121-
```
122-
123109
### configuring
124110

125111
The config is mostly automated (just run `froster config`) but you need to answer a few questions for which you can accept defaults in most cases.

Diff for: install.sh

+7-8
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,10 @@ spinner() {
5252
spin='-\|/'
5353

5454
i=0
55-
while kill -0 $pid 2>/dev/null
56-
do
57-
i=$(( (i+1) %4 ))
55+
while kill -0 $pid 2>/dev/null; do
56+
i=$(((i + 1) % 4))
5857
printf "\r${spin:$i:1}"
59-
sleep .5
58+
sleep .1
6059
done
6160
printf "\r "
6261
}
@@ -210,7 +209,7 @@ install_froster() {
210209

211210
pipx ensurepath >/dev/null 2>&1
212211
# TODO: Update path once froster is in PyPi repository
213-
pipx install git+https://github.com/HPCNow/froster.git@develop >/dev/null 2>&1 &
212+
pipx install git+https://github.com/dirkpetersen/froster.git@develop >/dev/null 2>&1 &
214213
spinner $!
215214

216215
echo " ...froster installed"
@@ -228,7 +227,7 @@ install_pwalk() {
228227
pwalk_path=filesystem-reporting-tools-${pwalk_commit}
229228

230229
# Gather pwalk repository files
231-
curl -s -L ${pwalk_repository} | tar xzf - >/dev/null 2>&1 &
230+
curl -s -L ${pwalk_repository} | tar xzf - >/dev/null 2>&1 &
232231
spinner $!
233232

234233
# Compile pwalk tool and put exec file in froster's binaries folder
@@ -275,11 +274,11 @@ install_rclone() {
275274
fi
276275

277276
# Download the rclone zip file
278-
curl -LO $rclone_url >/dev/null 2>&1 &
277+
curl -LO $rclone_url >/dev/null 2>&1 &
279278
spinner $!
280279

281280
# Extract the zip file
282-
unzip rclone-current-linux-*.zip >/dev/null 2>&1 &
281+
unzip rclone-current-linux-*.zip >/dev/null 2>&1 &
283282
spinner $!
284283

285284
# Move rclone to froster's binaries folder

0 commit comments

Comments
 (0)