mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-13 22:02:34 +00:00
feat: Unifies webapp scripts into a single script with subcommands.
This commit is contained in:
4
webapp
4
webapp
@@ -51,7 +51,7 @@ log() {
|
||||
|
||||
install() {
|
||||
local file=$DEV_ENV/env/webapps/$(basename $1)
|
||||
local script="$DEV_ENV/env/.local/scripts/hypr/install-webapp"
|
||||
local script="$DEV_ENV/env/.local/scripts/hypr/webapp"
|
||||
|
||||
if [[ ! -x $script ]]; then
|
||||
log "Failed to find install web app script."
|
||||
@@ -69,7 +69,7 @@ install() {
|
||||
log "Installing webapp from spec: $file"
|
||||
|
||||
if [[ $dry_run == "0" ]]; then
|
||||
$script --file $file --no-interactive
|
||||
$script install --file $file --no-interactive
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user