-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
executable file
·32 lines (28 loc) · 918 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
all:
@echo "make <install-new/install-old>"
@echo ""
@echo "Note: install-old is for Debian Lenny or older."
install-old:
rm -rf /usr/share/dmgextract
mkdir /usr/share/dmgextract
cp *.png /usr/share/dmgextract
cp dmg.py /usr/lib/nautilus/extensions-1.0/python
cp dmgwithchooser.py /usr/lib/nautilus/extensions-1.0/python
nautilus -q
uninstall-old:
rm -rf /usr/share/dmgextract
rm /usr/lib/nautilus/extensions-1.0/python/dmg.py
rm /usr/lib/nautilus/extensions-1.0/python/dmgwithchooser.py
nautilus -q
install-new:
rm -rf /usr/share/dmgextract
mkdir /usr/share/dmgextract
cp *.png /usr/share/dmgextract
cp dmg.py /usr/lib/nautilus/extensions-2.0/python
cp dmgwithchooser.py /usr/lib/nautilus/extensions-2.0/python
nautilus -q
uninstall-old:
rm -rf /usr/share/dmgextract
rm /usr/lib/nautilus/extensions-1.0/python/dmg.py
rm /usr/lib/nautilus/extensions-1.0/python/dmgwithchooser.py
nautilus -q