From c8104d9fca55256949c50dfa9b8f0a7de54c8d5d Mon Sep 17 00:00:00 2001 From: th33xitus Date: Thu, 17 Mar 2022 00:25:29 +0100 Subject: [PATCH] style(kiauh.sh): add copyright notice Signed-off-by: Dominik Willner th33xitus@gmail.com --- kiauh.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/kiauh.sh b/kiauh.sh index 0a61f54..87f5a08 100755 --- a/kiauh.sh +++ b/kiauh.sh @@ -1,6 +1,14 @@ -#!/bin/bash -clear +#!/usr/bin/env bash +# +# KIAUH - Klipper Installation And Update Helper +# https://github.com/th33xitus/kiauh +# +# Copyright (C) 2020 - 2022 Dominik Willner +# +# This file may be distributed under the terms of the GNU GPLv3 license + set -e +clear ### set color variables green=$(echo -en "\e[92m") @@ -72,6 +80,7 @@ title_msg(){ } get_date(){ current_date=$(date +"%y%m%d-%H%M") + export current_date } print_unkown_cmd(){ ERROR_MSG="Invalid command!"