MV Enviroment Vars 2 Global LIB

This commit is contained in:
2019-05-11 23:38:21 +02:00
parent 73bbce159d
commit 297c6f958a
3 changed files with 34 additions and 44 deletions

View File

@ -1,2 +1,14 @@
#!/bin/bash
#Bash-Library for TerabyteTerminator Project
LIBVER=1.1
{ #set enviroemnt
readonly TRUE=1 #like <stdbool.h>
readonly FALSE=0 #like <stdbool.h>
readonly TTSYNC_EXIST=0 #file exist local
readonly TTSYNC_BACKUP=1 #file exist local - backup exist
readonly TTSYNC_REMOTE=2 #file exists remote - not used jet
readonly TTSYNC_DEL=3 #local file deleted
readonly globalconf="/etc/tt/global"
[ -z "$DEBUG" ] && readonly DEBUG=$FALSE
}