Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
- Updated dependencies.
  • Loading branch information
tmiland committed Apr 29, 2022
1 parent bd35e96 commit 19b2bfd
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions invidious_update.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash


## Author: Tommy Miland (@tmiland) - Copyright (c) 2021
## Author: Tommy Miland (@tmiland) - Copyright (c) 2022


######################################################################
Expand All @@ -17,7 +17,7 @@ VERSION='1.6.2' # Must stay on line 14 for updater to fetch the numbers
#
# MIT License
#
# Copyright (c) 2021 Tommy Miland
# Copyright (c) 2022 Tommy Miland
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -227,9 +227,10 @@ if [[ $DISTRO_GROUP == "Debian" ]]; then
# Pre-install packages
PRE_INSTALL_PKGS="apt-transport-https git curl sudo gnupg"
# Install packages
INSTALL_PKGS="crystal libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev librsvg2-bin postgresql libsqlite3-dev"
INSTALL_PKGS="crystal libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev librsvg2-bin postgresql libsqlite3-dev zlib1g-dev libpcre3-dev libevent-dev"

#Uninstall packages
UNINSTALL_PKGS="crystal libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev librsvg2-bin libsqlite3-dev"
UNINSTALL_PKGS="crystal libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev librsvg2-bin libsqlite3-dev zlib1g-dev libpcre3-dev libevent-dev"
# PostgreSQL Service
PGSQL_SERVICE="postgresql"
# Docker pkgs
Expand All @@ -250,9 +251,9 @@ elif [[ $(lsb_release -si) == "CentOS" ]]; then
# Pre-install packages
PRE_INSTALL_PKGS="epel-release git curl sudo dnf-plugins-core"
# Install packages
INSTALL_PKGS="crystal openssl-devel libxml2-devel libyaml-devel gmp-devel readline-devel librsvg2-tools sqlite-devel postgresql postgresql-server"
INSTALL_PKGS="crystal openssl-devel libxml2-devel libyaml-devel gmp-devel readline-devel librsvg2-tools sqlite-devel postgresql postgresql-server zlib-devel gcc libevent-devel"
#Uninstall packages
UNINSTALL_PKGS="crystal openssl-devel libxml2-devel libyaml-devel gmp-devel readline-devel librsvg2-tools sqlite-devel"
UNINSTALL_PKGS="crystal openssl-devel libxml2-devel libyaml-devel gmp-devel readline-devel librsvg2-tools sqlite-devel zlib-devel gcc libevent-devel"
# PostgreSQL Service
PGSQL_SERVICE="postgresql"
# Docker pkgs
Expand All @@ -273,9 +274,9 @@ elif [[ $(lsb_release -si) == "Fedora" ]]; then
# Pre-install packages
PRE_INSTALL_PKGS="git curl sudo"
# Install packages
INSTALL_PKGS="crystal openssl-devel libxml2-devel libyaml-devel gmp-devel readline-devel librsvg2-tools sqlite-devel postgresql postgresql-server"
INSTALL_PKGS="crystal openssl-devel libxml2-devel libyaml-devel gmp-devel readline-devel librsvg2-tools sqlite-devel postgresql postgresql-server zlib-devel gcc libevent-devel"
#Uninstall packages
UNINSTALL_PKGS="crystal openssl-devel libxml2-devel libyaml-devel gmp-devel readline-devel librsvg2-tools sqlite-devel"
UNINSTALL_PKGS="crystal openssl-devel libxml2-devel libyaml-devel gmp-devel readline-devel librsvg2-tools sqlite-devel zlib-devel gcc libevent-devel"
# PostgreSQL Service
PGSQL_SERVICE="postgresql"
# Docker pkgs
Expand Down

0 comments on commit 19b2bfd

Please sign in to comment.