Merge branch 'print-version-help' into develop
This commit is contained in:
commit
ade9e795b6
@ -9,6 +9,7 @@ date=`date +%Y-%m-%d`
|
||||
|
||||
#nummer
|
||||
sed -i "/#@version\ /c\#@version\ $version_sed" src/remaster.sh
|
||||
sed -i "/echo\ Remaster\ /c\ \ \ \ \ \ \ \ \ \ echo\ Remaster\ $version_sed" src/remaster.sh
|
||||
|
||||
#datum
|
||||
sed -i "/#@date\ /c\#@date\ $date" src/remaster.sh
|
||||
|
@ -43,6 +43,28 @@ fi
|
||||
fi
|
||||
}
|
||||
|
||||
#####################################################################################
|
||||
################## H e l p & I n f o ##############################################
|
||||
#####################################################################################
|
||||
|
||||
|
||||
case $(echo $1 | tr -d '-') in
|
||||
'') ;;
|
||||
version|V)
|
||||
echo Remaster 2.0.4
|
||||
exit 0
|
||||
;;
|
||||
*)
|
||||
echo 'Remaster update Live Systems'
|
||||
echo ' more information at: https://github.com/6543/remaster/'
|
||||
echo ''
|
||||
echo ' --version|-V show current version'
|
||||
echo ' --config|-c <config> run remaster with custom config'
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
#####################################################################################
|
||||
################## F u n c t i o n s ################################################
|
||||
#####################################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user