mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
package-cli: Remove redundant rm -rf build/data
Moving symlinks to containerd to a for loop makes maintenance easier. It also reveals a duplicate, redundant, rm -rf build/data and one duplicate, redundant, rm -rf bin/kubectl, that can be both be purged. Change-Id: Id81a05dcf2dadcc60ef8171494a284fbe1630400 Signed-off-by: Joakim Roubert <joakim.roubert@axis.com>
This commit is contained in:
parent
b313c196a1
commit
9307fcc332
@ -8,7 +8,8 @@ cd $(dirname $0)/..
|
|||||||
GO=${GO-go}
|
GO=${GO-go}
|
||||||
|
|
||||||
for i in crictl kubectl k3s-agent k3s-server k3s; do
|
for i in crictl kubectl k3s-agent k3s-server k3s; do
|
||||||
ln -fs containerd bin/$i
|
rm -f bin/$i
|
||||||
|
ln -s containerd bin/$i
|
||||||
done
|
done
|
||||||
|
|
||||||
for i in bridge flannel host-local loopback portmap; do
|
for i in bridge flannel host-local loopback portmap; do
|
||||||
|
Loading…
Reference in New Issue
Block a user