-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
configuration* | ||
.configuration* | ||
custom/config/* | ||
menu/__pycache__ | ||
pkgmngt/packInstall.sh | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -130,7 +130,7 @@ esac | |
# If the user has not saved his configuration file, let's ask | ||
# if he or she really wants to run this stuff | ||
time_current=$(stat -c '%Y' configuration 2>/dev/null || date +%s) | ||
time_old=$(stat -c '%Y' configuration.old 2>/dev/null || printf '%s' "$time_current") | ||
time_old=$(stat -c '%Y' .configuration.old 2>/dev/null || printf '%s' "$time_current") | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
pierre-labastie
Author
Member
|
||
if [ "$(printf '%d' "$time_old")" -ge "$(printf '%d' "$time_current")" ] ; then | ||
printf 'Do you want to run jhalfs? yes/no (yes): ' | ||
read -r ANSWER | ||
|
Hmm... I wonder if adding that extra "helpful" leading
.
for aKCONFIG_CONFIG
that lacks it was such a great idea in Kconfiglib. Maybe I should undo it, with a new major release. It can obviously break scripts.