fix: 调整剩余 rm 命令的参数顺序

This commit is contained in:
Konano 2026-09-09 17:34:53 +08:00
parent 1c3562b6a9
commit 16c021179c

View File

@ -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