-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdroidttf.sh
executable file
·33 lines (31 loc) · 1.08 KB
/
droidttf.sh
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
33
#!/bin/bash
# -*- coding: utf-8 -*-
#
# @name_enUS 'install Droid ttf fonts'
# @name_zhTW '安裝 Droid 字形'
# @desc_enUS 'Droid font is used on Google Android Platform, it's small and clear'
# @desc_zhTW 'Droid 字形是 Google 開發用來在Android手機上使用的字形,佔用空間小,而外型也很清晰。'
# @category 'Localization'
# @maintaner '林哲瑋 Zhe-Wei Lin (billy3321,雨蒼) <bill3321 -AT- gmail.com>'
# @author '林哲瑋 Zhe-Wei Lin (billy3321,雨蒼) <bill3321 -AT- gmail.com>'
# @license 'GPL'
# @debian ''
# @ubuntu ''
# @platform 'i386 AMD64'
# @child 'Common/add-apt-sources'
if [ "$DISTRIB_ID" == "Ubuntu" ]; then
if [ "$DISTRO_CODENAME" == 'karmic' ];then
<<<<<<< HEAD:Localization/droidttf.sh
=======
sudo apt-get -y --force-yes install ttf-droid
else
. add-apt-sources
add_ubuntu_fonts
>>>>>>> 7bb770d87d224876a59b5eb47eadd7027561c6f9:Localization/droidttf.sh
sudo apt-get -y --force-yes install ttf-droid
fi
else
. add-apt-sources
add_ubuntu_fonts
sudo apt-get -y --force-yes install ttf-droid
fi