From e6b2b4df0106216237426217d7bac03841ad1590 Mon Sep 17 00:00:00 2001 From: pvincent Date: Thu, 19 Oct 2023 20:42:05 +0400 Subject: [PATCH] autostart mkdir -p --- src/main | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main b/src/main index 50eef47..d995ba5 100755 --- a/src/main +++ b/src/main @@ -193,6 +193,7 @@ if [[ ! -f $HOME/.config/goldendict/config ]] || ! grep -q "path.*/usr/share/gol cp "$BASEDIR/lib/goldendict/config" "$HOME/.config/goldendict/" nohup goldendict & fi +mkdir -p $HOME/.config/autostart if [[ ! -f $HOME/.config/autostart/org.goldendict.GoldenDict.desktop ]]; then echo -n "autostart GoldenDict ..." ln -sf /usr/share/applications/org.goldendict.GoldenDict.desktop $HOME/.config/autostart/