From 8e636d4011b0025b02389d1337fccc70e9d9c993 Mon Sep 17 00:00:00 2001 From: Luc Didry Date: Fri, 11 Aug 2017 14:34:22 +0200 Subject: [PATCH] Corrections to make CI happy --- README.md | 6 ++++++ scripts/_common.sh | 2 +- scripts/install | 2 ++ scripts/remove | 2 ++ 4 files changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 108df53..4f9700d 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,13 @@ ------------------------------ +## What's Turtl + Turtl lets you take notes, bookmark websites, and store documents for sensitive projects. From sharing passwords with your coworkers to tracking research on an article you're writing, Turtl keeps it all safe from everyone but you and those you share with. You will need apps to use Turtl. Get them from . + +## Nota bene + +The `rethinkdb_2.3.6_armhf.deb` debian package in `conf` directory of this repository is a cross-compiled RethinkDB package for ARM architecture since no ARM package is provided by RethinkDB. diff --git a/scripts/_common.sh b/scripts/_common.sh index 108271c..8a04a05 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -412,7 +412,7 @@ ynh_make_valid_dbid () { ynh_exit_properly () { exit_code=$? if [ "$exit_code" -eq 0 ]; then - exit 0 # Exit without error if the script ended correctly + ynh_die "" 0 # Exit without error if the script ended correctly fi trap '' EXIT # Ignore new exit signals diff --git a/scripts/install b/scripts/install index 89cdf30..65fd52b 100755 --- a/scripts/install +++ b/scripts/install @@ -1,5 +1,7 @@ #!/bin/bash +set -eu + #================================================= # IMPORT GENERIC HELPERS #================================================= diff --git a/scripts/remove b/scripts/remove index b10ebb6..5e8854c 100755 --- a/scripts/remove +++ b/scripts/remove @@ -1,5 +1,7 @@ #!/bin/bash +set -u + #================================================= # GENERIC STARTING #=================================================