blob: 9b331133d5c1e7491140b71e86d9dd2e1a674268 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
post_install() {
echo "---------------------------------------------------------------"
sed -i -e 's/;extension=curl/extension=curl/' \
-e 's/;extension=openssl/extension=openssl/' /etc/php/php.ini
echo "Enable the curl openssl extension"
echo "If adb fails to connect to the phone, add the current user to the adbusers group"
echo "sudo gpasswd -aG \$USER adbusers"
echo "---------------------------------------------------------------"
}
post_upgrade() {
post_install
}
post_remove() {
echo "---------------------------------------------------------------"
sed -i -e 's/extension=curl/;extension=curl/' \
-e 's/extension=openssl/;extension=openssl/' /etc/php/php.ini
echo "Disable the curl openssl extension"
echo "---------------------------------------------------------------"
}
|