From 16c021179c4690dca890db9e27dc4d4325576e23 Mon Sep 17 00:00:00 2001 From: Konano Date: Wed, 9 Sep 2026 17:34:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E5=89=A9=E4=BD=99=20r?= =?UTF-8?q?m=20=E5=91=BD=E4=BB=A4=E7=9A=84=E5=8F=82=E6=95=B0=E9=A1=BA?= =?UTF-8?q?=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configure_priv.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure_priv.sh b/configure_priv.sh index ed76336..73c44ab 100755 --- a/configure_priv.sh +++ b/configure_priv.sh @@ -111,7 +111,7 @@ configure_install_eza() { else unzip $scriptdir/files/eza_$(uname -m)-unknown-linux-musl.zip -d $tempdir/eza sudo cp $tempdir/eza/eza /usr/local/bin/ - rm $tempdir/eza -r + rm -r $tempdir/eza fi fi } @@ -510,7 +510,7 @@ configure_node_exporter() { sudo cp $node_exporter_dir/node_exporter /usr/local/bin/node_exporter sudo chmod +x /usr/local/bin/node_exporter rm $tempdir/node_exporter.tar.gz - rm $node_exporter_dir -r + rm -r $node_exporter_dir # Generate a self-signed certificate # openssl req -new -newkey rsa:2048 -days 3650 -nodes -x509 -keyout node_exporter.key -out node_exporter.crt