From 5fd3e8462175bd63b4c02ccaa97624301034d032 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 3 Mar 2021 08:09:05 +0000 Subject: [PATCH] mutagen: keep asset files --- mutagen/install.ps1 | 8 ++++---- mutagen/install.sh | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/mutagen/install.ps1 b/mutagen/install.ps1 index bffc105..d967d35 100644 --- a/mutagen/install.ps1 +++ b/mutagen/install.ps1 @@ -9,8 +9,8 @@ $pkg_cmd_name = "mutagen" $pkg_dst_cmd = "$Env:USERPROFILE\.local\bin\mutagen.exe" $pkg_dst = "$pkg_dst_cmd" -$pkg_src_cmd = "$Env:USERPROFILE\.local\opt\mutagen-v$Env:WEBI_VERSION\bin\mutagen.exe" -$pkg_src_bin = "$Env:USERPROFILE\.local\opt\mutagen-v$Env:WEBI_VERSION\bin" +$pkg_src_cmd = "$Env:USERPROFILE\.local\opt\mutagen-v$Env:WEBI_VERSION\mutagen.exe" +$pkg_src_bin = "$Env:USERPROFILE\.local\opt\mutagen-v$Env:WEBI_VERSION" $pkg_src_dir = "$Env:USERPROFILE\.local\opt\mutagen-v$Env:WEBI_VERSION" $pkg_src = "$pkg_src_cmd" @@ -35,8 +35,8 @@ IF (!(Test-Path -Path "$pkg_src_cmd")) & tar xf "$pkg_download" echo "Install Location: $pkg_src_cmd" - New-Item "$pkg_src_bin" -ItemType Directory -Force - Move-Item -Path ".\mutagen.exe" -Destination "$pkg_src_bin" + New-Item "$pkg_src_dir" -ItemType Directory -Force + Move-Item -Path ".\*" -Destination "$pkg_src_dir" popd } diff --git a/mutagen/install.sh b/mutagen/install.sh index b18183a..39e5a66 100644 --- a/mutagen/install.sh +++ b/mutagen/install.sh @@ -13,16 +13,16 @@ function __init_mutagen() { pkg_dst_cmd="$HOME/.local/bin/mutagen" pkg_dst="$pkg_dst_cmd" - pkg_src_cmd="$HOME/.local/opt/mutagen-v$WEBI_VERSION/bin/mutagen" + pkg_src_cmd="$HOME/.local/opt/mutagen-v$WEBI_VERSION/mutagen" pkg_src_dir="$HOME/.local/opt/mutagen-v$WEBI_VERSION" pkg_src="$pkg_src_cmd" pkg_install() { - # $HOME/.local/opt/mutagen-v0.11.8/bin + # $HOME/.local/opt/mutagen-v0.11.8/ mkdir -p "$(dirname $pkg_src_cmd)" - # mv ./mutagen* "$HOME/.local/opt/mutagen-v0.11.8/bin/mutagen" - mv ./mutagen "$pkg_src_cmd" + # mv ./* "$HOME/.local/opt/mutagen-v0.11.8/" + mv ./* "$pkg_src_dir" # chmod a+x "$HOME/.local/opt/mutagen-v0.11.8/bin/mutagen" chmod a+x "$pkg_src_cmd" -- 2.25.1