fix: betterbird profiles
This commit is contained in:
parent
9db34f53de
commit
4b5a0a19de
1 changed files with 4 additions and 3 deletions
|
|
@ -295,11 +295,12 @@ let
|
|||
profile_root="''${HOME:-${config.home.homeDirectory}}/.thunderbird"
|
||||
profile="$profile_root/betterbird-current"
|
||||
|
||||
if [ -d "$profile" ]; then
|
||||
exec ${betterbird}/bin/betterbird --profile "$profile" "$@"
|
||||
if [ ! -d "$profile" ]; then
|
||||
echo "Betterbird profile not found: $profile" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
exec ${betterbird}/bin/betterbird "$@"
|
||||
exec ${betterbird}/bin/betterbird --profile "$profile" "$@"
|
||||
'';
|
||||
};
|
||||
nasaApodWallpaper = pkgs.writeShellApplication {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue