On Freitag, 13. April 2018 23:10:15 CEST Carlos E. R. wrote:
On 2018-04-13 22:59, Brüns, Stefan wrote:
On Freitag, 13. April 2018 22:50:24 CEST Carlos E. R. wrote:
On 2018-04-13 22:17, Ralf Lang wrote:
Am 13.04.2018 um 21:40 schrieb David C. Rankin:
That's most likely intentional, SLE15 also does not have this file anymore. /etc/os-release has been the way to go for years now, it's cross-distro and you should really move/change your scripts now at the very latest.
But being cross-distro means that it has to be parsed to get the equivalent result to detecting the presence of SuSE-release
if grep -q 'ID_LIKE="suse"' /etc/os-release ; then
echo "Geeko found!"
fi
#!/bin/bash
. /etc/os-release
Someone should create a distribution called `rm -Rf $HOME` ... Regards, Stefan -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org