Skip to content

Commit

Permalink
Revert Shards update/install
Browse files Browse the repository at this point in the history
- Reverted to shards update && shards install
  • Loading branch information
tmiland committed Jun 19, 2019
1 parent 534fd5a commit 3679f55
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
║ Invidious Update.sh ║
║ Automatic update script for Invidio.us ║
║ Maintained by @tmiland ║
║ version: 1.3.7
║ version: 1.3.8
╚═══════════════════════════════════════════════════════════════════╝
```
[![GitHub release](https://img.shields.io/github/release/tmiland/Invidious-Updater.svg?style=for-the-badge)](https://github.com/tmiland/Invidious-Updater/releases)
Expand Down
6 changes: 3 additions & 3 deletions invidious_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#### Maintained by @tmiland ####
######################################################################

version='1.3.7' # Must stay on line 14 for updater to fetch the numbers
version='1.3.8' # Must stay on line 14 for updater to fetch the numbers

#------------------------------------------------------------------------------#
#
Expand Down Expand Up @@ -866,7 +866,7 @@ UpdateRelease() {
rebuild() {
printf "\n-- Rebuilding ${REPO_DIR}\n"
cd ${REPO_DIR} || exit 1
shards update
shards update && shards install
crystal build src/invidious.cr --release
#sudo chown -R 1000:$USER_NAME $USER_DIR
cd -
Expand Down Expand Up @@ -1216,7 +1216,7 @@ host replication all ::1/128 md5" | ${SUDO} t

cd ${REPO_DIR} || exit 1
#sudo -i -u invidious \
shards update
shards update && shards install
crystal build src/invidious.cr --release
# Not figured out why yet, so let's set permissions after as well...
set_permissions
Expand Down

0 comments on commit 3679f55

Please sign in to comment.