mirror of https://github.com/k3s-io/k3s
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>pull/1500/head
parent
b313c196a1
commit
9307fcc332
|
@ -8,7 +8,8 @@ cd $(dirname $0)/..
|
|||
GO=${GO-go}
|
||||
|
||||
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
|
||||
|
||||
for i in bridge flannel host-local loopback portmap; do
|
||||
|
|
Loading…
Reference in New Issue