mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
14eec07715
* helper-scripts/nautilus-restore-settings-to-default.sh: Dont clobber any fonts that the user might have installed in ~/.nautilus. This is a bit of hack, but its very inconvenient to have these fonts be trashed when testing Nautilus in a "from scratch" environment. * nautilus.spec.in: Add the "restore settings to default" script to the package.
23 lines
365 B
Bash
Executable file
23 lines
365 B
Bash
Executable file
#!/bin/sh
|
|
|
|
nautilus --quit
|
|
gconftool --shutdown
|
|
|
|
nautilus_dir=$HOME/.nautilus
|
|
fonts_tmp=$HOME/nautilus-fonts-$$
|
|
|
|
if [ -d $nautilus_dir/fonts ]
|
|
then
|
|
mv $nautilus_dir/fonts $fonts_tmp
|
|
fi
|
|
|
|
rm -rf $nautilus_dir/
|
|
rm -rf $HOME/.gconf/apps/nautilus/
|
|
rm -rf $HOME/.gconfd
|
|
|
|
if [ -d $fonts_tmp ]
|
|
then
|
|
mkdir -p $nautilus_dir/
|
|
mv $fonts_tmp $nautilus_dir/fonts
|
|
fi
|
|
|