mirror of
https://github.com/vinceliuice/WhiteSur-gtk-theme.git
synced 2025-06-07 07:53:07 +00:00
Fixed #1300
This commit is contained in:
parent
1e0656208d
commit
68e421a65d
10
install.sh
10
install.sh
@ -179,11 +179,7 @@ else
|
|||||||
|
|
||||||
prompt -w "Removing the old '${name}' themes...\n"
|
prompt -w "Removing the old '${name}' themes...\n"
|
||||||
|
|
||||||
if [[ "${libadwaita}" != 'true' ]]; then
|
remove_themes; customize_theme; avoid_variant_duplicates;
|
||||||
remove_themes
|
|
||||||
fi
|
|
||||||
|
|
||||||
customize_theme; avoid_variant_duplicates;
|
|
||||||
|
|
||||||
prompt -w "Installing '${name}' themes in '${dest}'...\n";
|
prompt -w "Installing '${name}' themes in '${dest}'...\n";
|
||||||
|
|
||||||
@ -196,6 +192,8 @@ else
|
|||||||
prompt -i "Start icon style : ${icon}"
|
prompt -i "Start icon style : ${icon}"
|
||||||
prompt -i "Nautilus style : ${nautilus_style}"
|
prompt -i "Nautilus style : ${nautilus_style}"
|
||||||
|
|
||||||
|
echo; install_themes; echo; prompt -s "Done!"
|
||||||
|
|
||||||
if [[ "${libadwaita}" == 'true' ]]; then
|
if [[ "${libadwaita}" == 'true' ]]; then
|
||||||
if [[ "$UID" != '0' ]]; then
|
if [[ "$UID" != '0' ]]; then
|
||||||
install_libadwaita
|
install_libadwaita
|
||||||
@ -203,8 +201,6 @@ else
|
|||||||
else
|
else
|
||||||
echo; prompt -e "Do not run '--libadwaita' option with sudo!"
|
echo; prompt -e "Do not run '--libadwaita' option with sudo!"
|
||||||
fi
|
fi
|
||||||
else
|
|
||||||
echo; install_themes; echo; prompt -s "Done!"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if (is_my_distro "solus") && (is_running "gnome-session"); then
|
if (is_my_distro "solus") && (is_running "gnome-session"); then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user