Merge pull request #1659 from joakimr-axis/joakimr-axis_package-cli-clean

package-cli: Remove superfluous file exist check
pull/1692/head
Darren Shepherd 2020-04-27 09:23:16 -07:00 committed by GitHub
commit ad557bfeed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -13,10 +13,8 @@ ln -s containerd bin/k3s-server
ln -s containerd bin/kubectl
ln -s containerd bin/crictl
for i in bridge flannel host-local loopback portmap; do
if [ -e ./bin/$i ]; then
rm -f ./bin/$i
fi
ln -s cni ./bin/$i
rm -f bin/$i
ln -s cni bin/$i
done
cp contrib/util/check-config.sh bin/check-config