9 lines
286 B
Shell
Executable file
9 lines
286 B
Shell
Executable file
#!/bin/bash
|
|
|
|
. /etc/os-release
|
|
|
|
rm -rf /tmp/build
|
|
touch /tmp/build
|
|
echo "" >> /tmp/build
|
|
echo "Fedora $VERSION_ID, EOL: $SUPPORT_END (Please inform user if EOL near or reached)"| tee -a /tmp/build
|
|
echo "Build date: $(date +%Y-%m-%d) (WARN user if over 1 month old)" | tee -a /tmp/build
|