Test isolation of scripts in Distrobox

Export with (note that this is an executable, not an "application"):

distrobox-export -el waybar-weather -ep ~/scripts/distrobox/debian11 -b ~/scripts/waybar/waybar-weather.pl
This commit is contained in:
John Mertz 2022-12-05 21:58:53 -05:00
parent 14310c3c58
commit 239017d00c
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
#!/bin/sh
# distrobox_binary
# name: debian11
if [ ! -f /run/.containerenv ] && [ ! -f /.dockerenv ]; then
/bin/distrobox-enter -n debian11 -- /var/home/jpm/scripts/waybar/waybar-weather.pl "$@"
else
/var/home/jpm/scripts/waybar/waybar-weather.pl "$@"
fi