summarylogtreecommitdiffstats
path: root/pebble-sdk.install
blob: 283d346e53717788adcf7c86d82b7a9ba91b5b70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash

post_upgrade() {
    if [[ $2 == 2.0.* ]]; then
        echo "IMPORTANT: You will need to update your Pebble to run apps \
built with the 2.1 SDK. Applications compiled with the SDK 2.1 will not \
appear in the menu and will not run on Pebble firmware 2.0."
        echo
        echo "Tracking via Google Analytics is now disabled by default."
        echo "If you want to enable it, remove /opt/pebble/NO_TRACKING"
    fi
}

post_install() {
    if [[ $1 == 2.1.* ]]; then
        echo "IMPORTANT: You will need to update your Pebble to run apps \
built with the 2.1 SDK. Applications compiled with the SDK 2.1 will not \
appear in the menu and will not run on Pebble firmware 2.0."
        echo
    fi
    echo "Tracking via Google Analytics is disabled by default."
    echo "If you want to enable it, remove /opt/pebble/NO_TRACKING"
}