Remove target check in autoinstall/before.sh
All checks were successful
/ build-artifacts (autoinstall) (push) Successful in 19s
/ build-artifacts (autostart-manage) (push) Successful in 15s
/ upload-release (push) Successful in 13s

This commit is contained in:
Tobias Reisinger 2024-01-12 02:55:39 +01:00
parent 6003e52c8a
commit 7934e32b27
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
2 changed files with 7 additions and 4 deletions

View file

@ -1,14 +1,17 @@
#!/usr/bin/env bash
if [ "${action:?}" = "run" ]
action=${action:?}
# if action is run or completions, do nothing
if [ "$action" = "run" ] || [ "$action" = "completions" ]
then
return
exit 0
fi
clean=${args[--clean]:-}
target=${args[target]:?}
if [ "${action:?}" = "exe" ]
if [ "$action" = "exe" ]
then
target="$HOME/.local/bin/$target"
fi

View file

@ -1,6 +1,6 @@
name: autostart-manage
help: Manage autostart
version: 0.1.0
version: 0.1.1
dependencies:
tomlq: please install yq (https://github.com/kislyuk/yq)