File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,14 @@ install:
3535 install -m 644 desktop/can-icon.svg ${DEST_SHARE}/icons/hicolor/scalable/apps/${APP}.svg
3636 install -m 644 desktop/can-icon.svg ${DEST_SHARE}/pixmaps/${APP}.svg
3737
38+ uninstall :
39+ rm -Rf " ${DEST_APP} "
40+ rm -f " ${DESTDIR} /usr/bin/${APP} "
41+ rm -f " ${DEST_SHARE} /applications/${APP} .desktop"
42+ rm -f " ${DEST_SHARE} /icons/hicolor/24x24/apps/${APP} .png"
43+ rm -f " ${DEST_SHARE} /icons/hicolor/scalable/apps/${APP} .svg"
44+ rm -f " ${DEST_SHARE} /pixmaps/${APP} .svg"
45+
3846clean :
3947 rm -rf debian/${APP}
4048 rm -f ../${APP} _* .deb ../${APP} _* .asc ../${APP} _* .dsc ../${APP} * .changes
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ mv ../PyBitmessage ../${APP}-${VERSION}
2323make source
2424
2525# Build the package
26- dpkg-buildpackage -A
26+ dpkg-buildpackage -A || exit 1
2727
2828# change the directory name back
2929mv ../${APP} -${VERSION} ../PyBitmessage
You can’t perform that action at this time.
0 commit comments