1
0
Fork 0
A backup mirror for the main cloudcatcher repository on github. https://github.com/sbrl/cloudcatcher
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
cloudcatcher/cloudcatcher.sh

27 lines
448 B

#!/usr/bin/env bash
### Settings ###
own_dir="${BASH_SOURCE%/*}/";
logo_filename="logo.txt";
info_filename=$(mktemp --suffix -cloudcatcher);
if [ -f "${own_dir}.cloudcatcher-settings" ]; then
source "${own_dir}.cloudcatcher-settings";
fi
################
${own_dir}cloudcatcher-info.sh >${info_filename}
### Output ###
echo
pr -mtJ ${logo_filename} ${info_filename};
##############
### Cleanup ###
rm "${info_filename}"
###############