mirror of
https://github.com/brunofontes/linuxShortcuts.git
synced 2024-11-27 19:21:26 +00:00
Fixing android alert
Alert message was being used even when the backup/restore was not completed succesfully. Fixed it using the && operator.
This commit is contained in:
parent
85a8a60b74
commit
f06d59da1f
@ -1,2 +1 @@
|
|||||||
adb backup -apk -shared -all -f /home/bruno/Documents/Dropbox/Backups/android_backup.ab
|
adb backup -apk -shared -all -f /home/bruno/Documents/Dropbox/Backups/android_backup.ab && kdialog --title "Android Backup Complete" --msgbox "Android Backup finished successfully"
|
||||||
kdialog --title "Android Backup Complete" --msgbox "Android Backup finished successfully"
|
|
||||||
|
@ -1,2 +1 @@
|
|||||||
adb restore /home/bruno/Documents/Dropbox/Backups/android_backup.ab
|
adb restore /home/bruno/Documents/Dropbox/Backups/android_backup.ab && kdialog --title "Android Restore Complete" --msgbox "Android Restore finished successfully"
|
||||||
kdialog --title "Android Restore Complete" --msgbox "Android Restore finished successfully"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user