25 Jun
2013
25 Jun
'13
11:33 a.m.
Why no Slackware version?
Laurens Vets laurens@daemon.be wrote:
Following can be added to the distro script:
elif [ -f /etc/slackware-version ]; then
DISTRO="Slackware"
-Laurens _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
26 Jun
26 Jun
2:29 a.m.
New subject: Y U NO SLACKWARE?
Something like this?
if [ -f /etc/redhat-release ]; then VERSION=$(cat /etc/redhat-release | sed 's/.*release\ //' | sed 's/\ .*//') + if [ -f /etc/slackware-version ]; then + VERSION=$(cat /etc/slackware-version | cut -d" " -f2) else VERSION=$(lsb_release -sr 2>/dev/null)
-Laurens
On 2013-06-25 18:33, Adam Armstrong wrote:
Why no Slackware version?
Laurens Vets laurens@daemon.be wrote:
Following can be added to the distro script:
elif [ -f /etc/slackware-version ]; then
DISTRO="Slackware"
-Laurens
4243
Age (days ago)
4244
Last active (days ago)
1 comments
2 participants
participants (2)
-
Adam Armstrong
-
Laurens Vets