diff --git a/src/freedombone-utils-gnusocialtools b/src/freedombone-utils-gnusocialtools
index 697cabeab6ffa4dcccd3034c8b04f3e497b72339..ce0a106c72a4f880ac22b8a3b3c5edf29ba8589b 100755
--- a/src/freedombone-utils-gnusocialtools
+++ b/src/freedombone-utils-gnusocialtools
@@ -899,7 +899,7 @@ function install_gnusocial_plugin_sharings {
 
     # update to the next commit
     function_check set_repo_commit
-    set_repo_commit /var/www/$domain_name/htdocs/local/plugins "$social_app_name sharings plugin commit" "$SHARINGS_COMMIT" $SHARINGS_REPO
+    set_repo_commit /var/www/$domain_name/htdocs/local/plugins/Sharings "$social_app_name sharings plugin commit" "$SHARINGS_COMMIT" $SHARINGS_REPO
 
     if [[ $(app_is_installed ${social_app_name}_plugin_sharings) == "1" ]]; then
         return
@@ -980,7 +980,7 @@ function install_gnusocial_plugin_sharings_theme {
 
     # update to the next commit
     function_check set_repo_commit
-    set_repo_commit /var/www/$domain_name/htdocs/local/plugins "$social_app_name sharings theme plugin commit" "$SHARINGS_THEME_COMMIT" $SHARINGS_THEME_REPO
+    set_repo_commit /var/www/$domain_name/htdocs/local/plugins/Sharings "$social_app_name sharings theme plugin commit" "$SHARINGS_THEME_COMMIT" $SHARINGS_THEME_REPO
 
     if [[ $(app_is_installed ${social_app_name}_plugin_sharings_theme) == "1" ]]; then
         return