Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

preinst and md5sum #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions tcrc-tibetan-keyboard_1.0_all/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Package: tcrc-tibetan-keyboard
Version: 1.0
Architecture: all
Maintainer: KRISHNAN N <[email protected]>
Uploaders: ANISH CHAND <[email protected]>
Installed-Size: 1843
Section: utils
Priority: optional
Description: Tibetan Keyboard
Tibetan 'Keyboard Emulator' enables you to insert the Tibetan alphabet letters
from a standard keyboard.
12 changes: 12 additions & 0 deletions tcrc-tibetan-keyboard_1.0_all/DEBIAN/md5sums
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
af16e77bfa37a1c7bb1587050a05dbe2 usr/share/fonts/truetype/tcrc/tcrcyweb.ttf
9ed617ab3a051bec25dbc2f8a9b2f7dc usr/share/fonts/truetype/tcrc/tcrcbyn1.ttf
8f368e0eff315719ee0fbbbdbf6c98bf usr/share/fonts/truetype/tcrc/himalaya.ttf
094e95ec5de0e12a8b53a1a538769d52 usr/share/fonts/truetype/tcrc/tcrcytn1.ttf
6a2867f28fb9727d962bf7ec4194ccdc usr/share/fonts/truetype/tcrc/TibetanUnicode.ttf
10c0a26a802b2cd4d20ca82e50527aa9 usr/share/X11/xkb/symbols/bt
8f704b19cefc35c9726482197742c00a usr/share/X11/xkb/rules/evdev.xml
d41d8cd98f00b204e9800998ecf8427e usr/share/doc/tcrc-tibetan-keyboard/copyright
d41d8cd98f00b204e9800998ecf8427e usr/share/doc/tcrc-tibetan-keyboard/AUTHORS
7b9e6ea57bba3bd2e426adebe0948c54 usr/share/doc/tcrc-tibetan-keyboard/changelog.gz
6585d39af54d720b29e947f2b7e426d4 DEBIAN/control
e5073c2cb512d3329b33c6c29b03c5e3 DEBIAN/preinst
19 changes: 19 additions & 0 deletions tcrc-tibetan-keyboard_1.0_all/DEBIAN/preinst
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash

set -e

# Deletes the existing evdev.xml file

if [ -f /usr/share/X11/xkb/rules/evdev.xml ]; then
sudo rm /usr/share/X11/xkb/rules/evdev.xml
fi

# Deletes the existing bt file

if [ -f /usr/share/X11/xkb/symbols/bt ]; then
sudo rm /usr/share/X11/xkb/symbols/bt
fi

# Refreshes the font cache

sudo fc-cache -f -v
Loading