Updated uconsole-rotate

This commit is contained in:
2025-08-08 20:25:28 -03:00
parent c7cedaf633
commit 21a9b28005
5 changed files with 4 additions and 1 deletions
+2
View File
@@ -33,6 +33,8 @@ dpkg-deb --build "$pkg_path" "$output_path"
response=$(curl --silent --show-error --user "$user:$pass" --upload-file "$output_path" "$remote_url" 2>&1)
if echo "$response" | grep -q "package file already exists"; then
echo "Upload skipped: package file already exists on the server. You might have forgot to update the version number in the control file"
elif echo "$response" | grep -q "authGroup.Verify"; then
echo "Upload failed: authentication failed"
else
echo "$response"
echo "Package $output_path uploaded successfully"