Prompt if they have a keyring
This commit is contained in:
1 parent
6c2c85d2b9
commit
10e8fe581b
1 file changed
+7
-1
@@ -1,3 +1,9 @@
|
|||||||
echo "Add a default keyring for gnome-keyring that unlocks on login"
|
echo "Add a default keyring for gnome-keyring that unlocks on login"
|
||||||
|
|
||||||
bash "$OMARCHY_PATH/install/login/default-keyring.sh"
|
if [ -f "$HOME/.local/share/keyrings/Default_keyring.keyring" ] || [ -f "$HOME/.local/share/keyrings/default" ]; then
|
||||||
|
if gum confirm "Do you want to replace existing keyring with one that's auto-unlocked on login?"; then
|
||||||
|
bash "$OMARCHY_PATH/install/login/default-keyring.sh"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
bash "$OMARCHY_PATH/install/login/default-keyring.sh"
|
||||||
|
fi
|
||||||
Reference in new issue
Block a user