summaryrefslogtreecommitdiff
path: root/archsetup
diff options
context:
space:
mode:
Diffstat (limited to 'archsetup')
-rwxr-xr-xarchsetup4
1 files changed, 4 insertions, 0 deletions
diff --git a/archsetup b/archsetup
index 8cb5db6..23d91be 100755
--- a/archsetup
+++ b/archsetup
@@ -656,6 +656,10 @@ user_customizations() {
(cd "$dotfiles_dir" && stow --target="/home/$username" --no-folding --adopt system \
>> "$logfile" 2>&1 ) || error "error" "$action" "$?"
+ action="updating desktop database" && display "task" "$action"
+ (sudo -u "$username" update-desktop-database "/home/$username/.local/share/applications" \
+ >> "$logfile" 2>&1 ) || error "error" "$action" "$?"
+
action="restoring dotfile versions" && display "task" "$action"
(cd "$dotfiles_dir" && git config --global --add safe.directory "$user_archsetup_dir" && \
git restore . >> "$logfile" 2>&1 ) || error "error" "$action" "$?"