The aim of this Project is to create a deamon for a server, wich update live systems.
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.

22 lines
440 B

date=`date +%Y-%m-%d`
[ -e "src/" ] && {
version_sed=`echo $version | sed 's/\./\\./g'`
sed -i "s/@version\ .\..\../@version\ $version_sed/g" src/
sed -i "s/@date\ ....-..-../@date\ $date/g" src/
[ -e "changes/" ] && {
echo >> changes/
echo $date - $version >> changes/
echo pleace update changes/