Stop using sln in ca-legacy script.

This commit is contained in:
Kai Engert 2018-01-19 13:07:06 +01:00
parent 078e3f0b9b
commit 201f66b36b
2 changed files with 6 additions and 3 deletions

View File

@ -38,7 +38,7 @@ Name: ca-certificates
Version: 2017.2.20
# for Rawhide, please always use release >= 2
# for Fedora release branches, please use release < 2 (1.0, 1.1, ...)
Release: 3%{?dist}
Release: 4%{?dist}
License: Public Domain
Group: System Environment/Base
@ -352,6 +352,9 @@ fi
%changelog
* Fri Jan 19 2018 Kai Engert <kaie@redhat.com> - 2017.2.20-4
- stop using sln in ca-legacy script.
* Fri Jan 19 2018 Kai Engert <kaie@redhat.com> - 2017.2.20-3
- Use ln -s, because sln was removed from glibc. rhbz#1536349

View File

@ -32,10 +32,10 @@ do_install()
is_disabled
if [ $? -eq 0 ]; then
# found, legacy is disabled
sln $LDISABLE $LLINK
ln -s $LDISABLE $LLINK
else
# expression not found, legacy is set to default
sln $LDEFAULT $LLINK
ln -s $LDEFAULT $LLINK
fi
}