From 117514bc940766cde8bc51189cb536d088108948 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 4 Oct 2021 08:09:30 +0200 Subject: [PATCH] Fix --- conf/config.yml | 2 +- conf/crystal.src | 7 ------- scripts/install | 2 +- 3 files changed, 2 insertions(+), 9 deletions(-) delete mode 100644 conf/crystal.src diff --git a/conf/config.yml b/conf/config.yml index a6e20b1..732c686 100644 --- a/conf/config.yml +++ b/conf/config.yml @@ -29,7 +29,7 @@ db: ## Accepted values: a postgres:// URI ## Default: postgres://kemal:kemal@localhost:5432/invidious ## -#database_url: postgres://kemal:kemal@localhost:5432/invidious +#database_url: postgres://__DB_USER__:__DB_PWD__@localhost:5432/__DB_NAME__ ## ## Enable automatic table integrity check. This will create diff --git a/conf/crystal.src b/conf/crystal.src deleted file mode 100644 index b7d8145..0000000 --- a/conf/crystal.src +++ /dev/null @@ -1,7 +0,0 @@ -SOURCE_URL=https://github.com/crystal-lang/crystal/releases/download/1.0.0/crystal_1.0.0-1_amd64.deb -SOURCE_SUM=bc4c15bdfb32ae08daef40728fc8a1da260a4defd225f7ba309404d9e77dcd8d -SOURCE_SUM_PRG=sha256sum -SOURCE_FORMAT=deb -SOURCE_IN_SUBDIR=true -SOURCE_FILENAME=crystal_1.0.0-1_amd64.deb -SOURCE_EXTRACT=false diff --git a/scripts/install b/scripts/install index 0e4cb99..d0db35f 100644 --- a/scripts/install +++ b/scripts/install @@ -136,7 +136,7 @@ popd #================================================= # MODIFY A CONFIG FILE #================================================= -ynh_script_progression --message="Modifying a config file..." +ynh_script_progression --message="Modifying a config file..." --weight=1 ynh_add_config --template="../conf/config.yml" --destination="$final_path/config/config.yml" chmod 600 $final_path/config/config.yml