if [ -d /ic0/wymiana ]; then
if [ -d /home/${USER}/.cache/Nextcloud ]; then
rm -rf /home/${USER}/.cache/Nextcloud;
- cp -pr ${HOME}/.cache/Nextcloud /home/${USER}/.cache;
fi
+ cp -pr ${HOME}/.cache/Nextcloud /home/${USER}/.cache;
if [ -d /home/${USER}/.config/Nextcloud ]; then
rm -rf /home/${USER}/.config/Nextcloud;
- cp -pr ${HOME}/.config/Nextcloud /home/${USER}/.config;
fi
+ cp -pr ${HOME}/.config/Nextcloud /home/${USER}/.config;
if [ ! -d /home/${USER}/.local/share/Nextcloud ]; then
mkdir -p /home/${USER}/.local/share/Nextcloud;