summarylogtreecommitdiffstats
path: root/microchip-mplabx-bin.install
diff options
context:
space:
mode:
Diffstat (limited to 'microchip-mplabx-bin.install')
-rwxr-xr-xmicrochip-mplabx-bin.install22
1 files changed, 22 insertions, 0 deletions
diff --git a/microchip-mplabx-bin.install b/microchip-mplabx-bin.install
new file mode 100755
index 000000000000..845cadd3160f
--- /dev/null
+++ b/microchip-mplabx-bin.install
@@ -0,0 +1,22 @@
+post_install() {
+ update-desktop-database -q
+ udevadm control --reload-rules &> /dev/null
+
+ echo "---------------------------------------------------------
+Before using MPLAB X you have to agree with LICENSE:
+/usr/share/licenses/microchip-mplabx-bin/LICENSE
+
+To run MPLAB X type 'mplab_ide' in console or just use the 'microchip-mplabx.desktop' desktop file.
+
+To run (IPE) Integrated Programmer Environment (Beta) type 'mplab_ipe' in console or just use the 'microchip-mplab_ipe.desktop' desktop file.
+---------------------------------------------------------"
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ update-desktop-database -q
+ udevadm control --reload-rules &> /dev/null
+}