diff options
author | Matthew Budd <mjbudd77@yahoo.com> | 2018-10-27 00:30:46 +0100 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2018-10-27 00:30:46 +0100 |
commit | 1b3e6129f7b2f2aab91713049de2ecbc6c360fd2 (patch) | |
tree | 05dcbe0a7f007f093d3533540c4024481c6702ea /system/rear/rear.patch | |
parent | b2cc4e88aa5ee10358cd56e2694b1949e07736a0 (diff) |
system/rear: Added (disaster recovery and system migration tool).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/rear/rear.patch')
-rw-r--r-- | system/rear/rear.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/system/rear/rear.patch b/system/rear/rear.patch new file mode 100644 index 0000000000000..aa8cb2fbce4ac --- /dev/null +++ b/system/rear/rear.patch @@ -0,0 +1,14 @@ +--- ./usr/share/rear/lib/config-functions.sh.orig 2018-10-25 22:23:17.744613686 -0400 ++++ ./usr/share/rear/lib/config-functions.sh 2018-10-25 22:23:26.675613303 -0400 +@@ -57,6 +57,11 @@ + minornr=$( grep -o -E '[0-9]+' /etc/system-release | head -2 | tail -1 ) + OS_VERSION="$majornr.$minornr" + fi ++ ++ if [[ -f /etc/slackware-version ]] ; then ++ OS_VENDOR=Slackware ++ OS_VERSION=$(cat /etc/slackware-version | sed -r -e 's/slackware\s*//i') ++ fi + fi + + # If OS_VENDOR is still generic then use as last resource 'lsb_release' to find out |