Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 45 lines (39 sloc) 1.579 kb
a6c3b26 Clement Lefebvre Initial commit
clefebvre authored
1 #!/bin/sh
2 #
3 # Copyright 2007-2009 Canonical Ltd.
4 #
5 # This program is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU General Public License as
7 # published by the Free Software Foundation; either version 2 of the
8 # License, or (at your option) any later version.
9 #
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software Foundation,
17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
18
12a6604 Clement Lefebvre Renamed project to mintstick
clefebvre authored
19 LIBFILES="mintstick.py find_devices.py raw_write.py"
bd4a920 wavespot Get back to GTK2
wavespot authored
20 DATAFILES="mintstick.glade"
a6c3b26 Clement Lefebvre Initial commit
clefebvre authored
21
22
23 if [ "$1" = "uninstall" ]; then
12a6604 Clement Lefebvre Renamed project to mintstick
clefebvre authored
24 rm -rf /usr/lib/mintstick
25 rm -rf /usr/share/mintstick
26 rm -r /usr/share/applications/mintstick.desktop
27 rm -f /usr/bin/mintstick
7a79156 wavespot * Change authentication to polkit
wavespot authored
28 rm -rf /usr/share/polkit-1/actions/org.linuxmint.im.policy
a6c3b26 Clement Lefebvre Initial commit
clefebvre authored
29 else
12a6604 Clement Lefebvre Renamed project to mintstick
clefebvre authored
30 cp share/applications/mintstick.desktop /usr/share/applications/
31 cp share/applications/mintstick-kde.desktop /usr/share/applications/
7a79156 wavespot * Change authentication to polkit
wavespot authored
32 cp share/polkit/org.linuxmint.im.policy /usr/share/plokit-1/actions
12a6604 Clement Lefebvre Renamed project to mintstick
clefebvre authored
33 cp mintstick /usr/bin/
34 mkdir -p /usr/lib/mintstick
35 mkdir -p /usr/share/mintstick
a6c3b26 Clement Lefebvre Initial commit
clefebvre authored
36
37 for item in $LIBFILES; do
12a6604 Clement Lefebvre Renamed project to mintstick
clefebvre authored
38 cp lib/$item /usr/lib/mintstick/
a6c3b26 Clement Lefebvre Initial commit
clefebvre authored
39 done
40
41 for item in $DATAFILES; do
12a6604 Clement Lefebvre Renamed project to mintstick
clefebvre authored
42 cp share/mintstick/$item /usr/share/mintstick/
a6c3b26 Clement Lefebvre Initial commit
clefebvre authored
43 done
44 fi
Something went wrong with that request. Please try again.