Merge lp://qastaging/~cypressyew/checkbox/fix-autostart-vivid into lp://qastaging/checkbox
Proposed by
Po-Hsu Lin
Status: | Merged |
---|---|
Approved by: | Sylvain Pineau |
Approved revision: | 3845 |
Merged at revision: | 3845 |
Proposed branch: | lp://qastaging/~cypressyew/checkbox/fix-autostart-vivid |
Merge into: | lp://qastaging/checkbox |
Diff against target: |
12 lines (+1/-1) 1 file modified
checkbox-ng/contrib/checkbox-sru.desktop (+1/-1) |
To merge this branch: | bzr merge lp://qastaging/~cypressyew/checkbox/fix-autostart-vivid |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sylvain Pineau (community) | Approve | ||
Review via email:
|
Description of the change
Rewrite the if statement from "&&" style to the normal if statement, in this way it won't return error value when the package does not exist.
Let's expand it:
sh -c "
if [ `pidof systemd` ]; then
sudo systemctl start checkbox-
/usr/
sudo systemctl start checkbox-
else
sudo initctl emit checkbox-
/usr/
sudo initctl emit checkbox-
fi"
To post a comment you must log in.
Looks good to me, +1