|
|
@ -290,8 +290,8 @@ if [ ! -z "$updatable" ];then
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
#.git folder
|
|
|
|
#.git folder
|
|
|
|
#delete .git folder, then copy the new one
|
|
|
|
#delete .git folder, then copy the new one
|
|
|
|
rm -rf "${DIRECTORY}/.git"
|
|
|
|
rm -rf "${DIRECTORY}/.git" || sudo rm -rf "${DIRECTORY}/.git" || error "Failed to delete old ${DIRECTORY}/.git folder!"
|
|
|
|
cp -rf "${DIRECTORY}/update/pi-apps/.git" "${DIRECTORY}/.git" || error "Failed to copy new .git folder!"
|
|
|
|
cp -a "${DIRECTORY}/update/pi-apps/.git" "${DIRECTORY}" || error "Failed to copy new .git folder!"
|
|
|
|
|
|
|
|
|
|
|
|
echo -e "\e[92mPi-Apps updates complete.\e[39m"
|
|
|
|
echo -e "\e[92mPi-Apps updates complete.\e[39m"
|
|
|
|
|
|
|
|
|
|
|
|