Skip to content

Commit 49d5195

Browse files
committed
🐛 Fix home directory resolution for Linux
1 parent 6c37587 commit 49d5195

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ uninstall_binary() {
9696
if [ "$PLATFORM" == "darwin" ]; then
9797
CONFIG_DIR="$HOME/Library/Application Support/chibi"
9898
else
99-
CONFIG_DIR="$HOME/.config/chibi"
99+
CONFIG_DIR="/home/$SUDO_USER/.config/chibi"
100100
fi
101101

102102
if [ -d "$CONFIG_DIR" ]; then

0 commit comments

Comments
 (0)