diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2010-09-06 14:34:02 +0200 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2010-09-06 14:34:02 +0200 |
commit | 123cc7aa6ba4bc6ad62405989302d380653bc272 (patch) | |
tree | 565e464b0fb60dfb056fd8471939ee6df5c08dba /auto | |
parent | b94e04f5afe7b358782df39da8b903ba308abcc4 (diff) | |
download | kanotix-123cc7aa6ba4bc6ad62405989302d380653bc272.zip kanotix-123cc7aa6ba4bc6ad62405989302d380653bc272.tar.gz |
add default kanotix-version
Diffstat (limited to 'auto')
-rwxr-xr-x | auto/build | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -7,6 +7,7 @@ bit=32 [ "$LH_ARCHITECTURE" = "amd64" ] && bit=64 # Update kanotix-version (32/64-bit and timestamp) +[ ! -f config/chroot_local-includes/etc/kanotix-version ] && echo "Kanotix Hellfire 0000-00:00" > config/chroot_local-includes/etc/kanotix-version perl -pi -e "s%(Kanotix|Excalibur|Hellfire)(32|64)%\${1}$bit%i; s%(32|64)(bit)%$bit\${2}%i; s|[0-9]+-[0-9]+:[0-9]+|$(date +%Y%m%d-%H:%M)|" config/chroot_local-includes/etc/kanotix-version prebuild() |