mirror of
https://github.com/spiritLHLS/one-click-installation-script.git
synced 2024-11-16 09:22:18 +08:00
Update package.sh
This commit is contained in:
parent
916a3f2627
commit
7cad667c84
|
@ -301,8 +301,10 @@ if [ $? -ne 0 ]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
|
||||
# Update the package list again to pick up the new sources
|
||||
sudo apt update
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
# Print a message indicating that the update failed
|
||||
echo "The update failed. Please try another way"
|
||||
|
|
Loading…
Reference in New Issue
Block a user