home/private_dot_local/script/executable_installappimage
2024-08-12 03:56:57 -05:00

15 lines
170 B
Bash

#!/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