18 lines
545 B
Bash
Executable File
18 lines
545 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Post-install steps for dotfiles setup
|
|
|
|
# Update pkgfile database for command-not-found suggestions
|
|
if command -v pkgfile &>/dev/null && [ "$DOTFILES_PACKAGES_UPDATED" = "1" ]; then
|
|
echo "Updating pkgfile database..."
|
|
sudo pkgfile --update
|
|
else
|
|
echo "Skipping pkgfile update (no packages installed)."
|
|
fi
|
|
|
|
# Add other post-install steps here as needed
|
|
# Example: update icon cache, font cache, etc.
|
|
# sudo fc-cache -fv
|
|
# sudo gtk-update-icon-cache -f /usr/share/icons/hicolor
|
|
|
|
echo "Post-install steps complete."
|