home/private_dot_local/script/executable_installappimage

15 lines
170 B
Plaintext
Raw Permalink Normal View History

2024-08-12 08:56:57 +00:00
#!/bin/bash
target="$HOME/.local/bin"
echo "installing $2 to $1"
if test -f $2; then
cp $2 "$target/$1"
chmod +x "$target/$1"
else
echo "file $2 doesnt exist"
fi