fix: 调整剩余 rm 命令的参数顺序
This commit is contained in:
parent
1c3562b6a9
commit
16c021179c
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user