diff options
author | ene <ene@sils.li> | 2023-02-25 08:10:59 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-02-25 08:10:59 +0100 |
commit | 05e674a5d1a965040a6e030c617840c9d567f173 (patch) | |
tree | 113eb004a222be4f9f29f4df04582a19ffdc4052 /home-manager/packages/scripts/apps/aumo | |
parent | Feat(packages): Add my scripts (diff) | |
download | nixos-config-05e674a5d1a965040a6e030c617840c9d567f173.tar.gz nixos-config-05e674a5d1a965040a6e030c617840c9d567f173.zip |
Fix(packages): Don't use hardcoded library paths
Diffstat (limited to '')
-rwxr-xr-x | home-manager/packages/scripts/apps/aumo | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/home-manager/packages/scripts/apps/aumo b/home-manager/packages/scripts/apps/aumo index 863dcf32..df12c111 100755 --- a/home-manager/packages/scripts/apps/aumo +++ b/home-manager/packages/scripts/apps/aumo @@ -1,8 +1,8 @@ -#!/bin/sh +#! /usr/bin/env dash # shellcheck disable=SC2046,2086 # shellcheck source=/dev/null -. ~/.local/lib/shell/lib +. %SHELL_LIBRARY_PATH if [ "$1" = "-u" ];then udisksctl unmount -b $(cat $HOME/.cache/aumo/mnt_disk); exit 0; fi all_available_disks=$(mktemp) |