File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 22# Author: hustcer
33# Created: 2025/02/25 18:55:20
44
5+ set -e
6+
7+ # Running nu in the rpm-ostree script environment fails if the config directory
8+ # doesn't exist, preventing the post-install.nu script from being run.
9+ if [ -n " ${XDG_CONFIG_HOME+x} " ]; then
10+ mkdir -p " $XDG_CONFIG_HOME "
11+ elif [ -n " ${HOME+x} " ]; then
12+ mkdir -p " $HOME /.config"
13+ else
14+ export XDG_CONFIG_HOME=" $PWD /.config"
15+ mkdir -p " $XDG_CONFIG_HOME "
16+ fi
17+
518nu /usr/libexec/nushell/post-install.nu
Original file line number Diff line number Diff line change 22# Author: hustcer
33# Created: 2025/03/10 08:35:20
44
5+ set -e
6+
7+ # Running nu in the rpm-ostree script environment fails if the config directory
8+ # doesn't exist, preventing the pre-remove.nu script from being run.
9+ if [ -n " ${XDG_CONFIG_HOME+x} " ]; then
10+ mkdir -p " $XDG_CONFIG_HOME "
11+ elif [ -n " ${HOME+x} " ]; then
12+ mkdir -p " $HOME /.config"
13+ else
14+ export XDG_CONFIG_HOME=" $PWD /.config"
15+ mkdir -p " $XDG_CONFIG_HOME "
16+ fi
17+
518nu /usr/libexec/nushell/pre-remove.nu
You can’t perform that action at this time.
0 commit comments