[DiscordArchive] Wat do?
[DiscordArchive] Wat do?
Archived author: mynameismeat • Posted: 2023-08-24T21:39:58.536000+00:00
Original source
but uh dont run it as root
Archived author: mynameismeat • Posted: 2023-08-24T21:40:13.525000+00:00
Original source
add `-x` to bash so `bash -xc ...`
Archived author: AlexanderESmith • Posted: 2023-08-24T21:40:14.095000+00:00
Original source
... ***The*** docs...
Archived author: AlexanderESmith • Posted: 2023-08-24T21:40:15.337000+00:00
Original source
xD
Archived author: mynameismeat • Posted: 2023-08-24T21:41:05.685000+00:00
Original source
oh
Archived author: AlexanderESmith • Posted: 2023-08-24T21:41:11.849000+00:00
Original source
```$ bash -xc "source apps/installer/includes/functions.sh && export DATAPATH=env/dist/data && inst_download_client_data"
+ source apps/installer/includes/functions.sh
+ export DATAPATH=env/dist/data
+ DATAPATH=env/dist/data
+ inst_download_client_data
+ local VERSION=v16
+ echo '#######################'
#######################
+ echo 'Client data downloader'
Client data downloader
+ echo '#######################'
#######################
+ local path=env/dist/data
+ local zipPath=env/dist/data/data.zip
+ dataVersionFile=env/dist/data/data-version
+ '[' -f env/dist/data/data-version ']'
+ mkdir -p env/dist/data
+ '[' v16 == '' ']'
+ echo 'Downloading client data in: env/dist/data/data.zip ...'
Downloading client data in: env/dist/data/data.zip ...
+ curl -L https://github.com/wowgaming/client-data...6/data.zip
apps/installer/includes/functions.sh: line 249: env/dist/data/data.zip: Permission denied
```
Archived author: AlexanderESmith • Posted: 2023-08-24T21:41:35.097000+00:00
Original source
that quoting seems a bit... odd...
Archived author: mynameismeat • Posted: 2023-08-24T21:41:35.937000+00:00
Original source
so do this, `sudo chown -R $(id -u):$(id -g) env/dist`
Archived author: mynameismeat • Posted: 2023-08-24T21:42:05.243000+00:00
Original source
and then run it
Archived author: mynameismeat • Posted: 2023-08-24T21:42:25.882000+00:00
Original source
we do a little shell debugging