Skip to content

Commit aeed851

Browse files
committed
docs: fix install / update commands to handle overwrite previous downloads
1 parent aa4e36d commit aeed851

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ Make sure to substitute all variables for their correct values.
143143

144144
1. Create a service account for ModShark: `sudo useradd -s /bin/bash -d /home/modshark -m modshark`
145145
2. Log into the service account: `sudo su - modshark`
146-
3. Download the [latest release package](https://github.com/warriordog/ModShark/releases/latest): `wget https://github.com/warriordog/ModShark/releases/latest/download/ModShark-latest.zip`
146+
3. Download the [latest release package](https://github.com/warriordog/ModShark/releases/latest): `wget -O ModShark-latest.zip https://github.com/warriordog/ModShark/releases/latest/download/ModShark-latest.zip`
147147
4. Extract the release package into a directory: `mkdir ModShark && bsdtar -xvf ModShark-latest.zip -C ModShark`
148148
5. Create the production config file (see the [Configuration section](#Configuration) for details): `nano ModShark/appsettings.Production.json`
149149
6. Run the latest database migrations: `psql -U $postgres_user -W -d $sharkey_database -a -f ModShark/update-ModShark-migrations.sql`
@@ -159,7 +159,7 @@ Make sure to substitute all variables for their correct values.
159159

160160
1. Stop the ModShark service, if it's running: `sudo systemctl stop modshark`
161161
2. Log into the ModShark service account: `sudo su - modshark`
162-
3. Download the [latest release package](https://github.com/warriordog/ModShark/releases/latest): `wget https://github.com/warriordog/ModShark/releases/latest/download/ModShark-latest.zip`
162+
3. Download the [latest release package](https://github.com/warriordog/ModShark/releases/latest): `wget -O ModShark-latest.zip https://github.com/warriordog/ModShark/releases/latest/download/ModShark-latest.zip`
163163
4. Extract the release package into your installation directory, overwriting any files: `mkdir ModShark && bsdtar -xvf ModShark-latest.zip -C ModShark`
164164
5. Run the latest database migrations: `psql -U $postgres_user -W -d $sharkey_database -a -f ModShark/update-ModShark-migrations.sql`
165165
6. Return to an admin account: `exit`

0 commit comments

Comments
 (0)