You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 2, 2022. It is now read-only.
# installation will fail rather than delete user files
[ -d $DAMA_CONFIG_DIR ] && {
case "$1" in
"--replace")
mv $DAMA_CONFIG_DIR $DAMA_CONFIG_DIR.old || {
echo -e "aborting to avoid deleting user data.\nYou can fix this by removing one of the folders:\n$DAMA_CONFIG_DIR\n$DAMA_CONFIG_DIR.old\nor by running \`./install.sh --force-replace\` which will delete the old configuration"
exit
} ;;
"--force-replace" )
rm -rf $DAMA_CONFIG_DIR ;;
* )
echo -e "found a previous configuration in $DAMA_CONFIG_DIR\nRun \`./install.sh --replace\` to install anyway."