style(kiauh.sh): add copyright notice
Signed-off-by: Dominik Willner th33xitus@gmail.com
This commit is contained in:
13
kiauh.sh
13
kiauh.sh
@@ -1,6 +1,14 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
clear
|
#
|
||||||
|
# KIAUH - Klipper Installation And Update Helper
|
||||||
|
# https://github.com/th33xitus/kiauh
|
||||||
|
#
|
||||||
|
# Copyright (C) 2020 - 2022 Dominik Willner <th33xitus@gmail.com>
|
||||||
|
#
|
||||||
|
# This file may be distributed under the terms of the GNU GPLv3 license
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
clear
|
||||||
|
|
||||||
### set color variables
|
### set color variables
|
||||||
green=$(echo -en "\e[92m")
|
green=$(echo -en "\e[92m")
|
||||||
@@ -72,6 +80,7 @@ title_msg(){
|
|||||||
}
|
}
|
||||||
get_date(){
|
get_date(){
|
||||||
current_date=$(date +"%y%m%d-%H%M")
|
current_date=$(date +"%y%m%d-%H%M")
|
||||||
|
export current_date
|
||||||
}
|
}
|
||||||
print_unkown_cmd(){
|
print_unkown_cmd(){
|
||||||
ERROR_MSG="Invalid command!"
|
ERROR_MSG="Invalid command!"
|
||||||
|
|||||||
Reference in New Issue
Block a user