1
0
This commit is contained in:
dtb 2022-11-03 00:58:33 -04:00
parent 5a55c02721
commit d0479bb46b

View File

@ -1,11 +1,11 @@
#!/bin/sh #!/bin/sh
str isvalue "$PIGPEN" \ str isvalue "$PIGPEN" \
&& printf "%s\n" "$PIGPEN" && printf "%s\n" "$PIGPEN" \
&& exit 0 \ && exit 0 \
|| str isvalue "$XDG_CONFIG_HOME" \ || str isvalue "$XDG_CONFIG_HOME" \
&& printf "%s\n" "$XDG_CONFIG_HOME" && printf "%s\n" "$XDG_CONFIG_HOME" \
&& exit 0 \ && exit 0 \
|| printf "%s/.pigpen" "$HOME" # single-user is /.pigpen || printf "%s/.pigpen\n" "$HOME" \
&& exit 0 \ && exit 0 \
|| exit 1 || exit 1