Updated uconsole-rotate
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user