Use the force, script! (Which sln did by default).

This commit is contained in:
Kai Engert 2018-01-19 13:14:55 +01:00
parent 201f66b36b
commit 4d1e9c779d
2 changed files with 6 additions and 3 deletions

View File

@ -38,7 +38,7 @@ Name: ca-certificates
Version: 2017.2.20 Version: 2017.2.20
# for Rawhide, please always use release >= 2 # for Rawhide, please always use release >= 2
# for Fedora release branches, please use release < 2 (1.0, 1.1, ...) # for Fedora release branches, please use release < 2 (1.0, 1.1, ...)
Release: 4%{?dist} Release: 5%{?dist}
License: Public Domain License: Public Domain
Group: System Environment/Base Group: System Environment/Base
@ -352,6 +352,9 @@ fi
%changelog %changelog
* Fri Jan 19 2018 Kai Engert <kaie@redhat.com> - 2017.2.20-5
- Use the force, script! (Which sln did by default).
* Fri Jan 19 2018 Kai Engert <kaie@redhat.com> - 2017.2.20-4 * Fri Jan 19 2018 Kai Engert <kaie@redhat.com> - 2017.2.20-4
- stop using sln in ca-legacy script. - stop using sln in ca-legacy script.

View File

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