The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Apport option in install script

These changes was commited to the Birdfont repository Sat, 25 Apr 2015 13:52:50 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Sat, 25 Apr 2015 13:52:50 +0000]

Updated Files

install.py
scripts/version.py
--- a/install.py +++ b/install.py @@ -72,7 +72,7 @@ parser.add_option ("-n", "--manpages-directory", dest="mandir", help="put man pages in this directory under prefix") parser.add_option ("-l", "--libdir", dest="libdir", help="path to directory for shared libraries (lib or lib64).") parser.add_option ("-c", "--skip-command-line-tools", dest="nocli", help="don't install command line tools") - parser.add_option ("-a", "--no-apport", dest="noapport", help="don't install apport scripts") + parser.add_option ("-a", "--apport", dest="apport", help="install apport scripts") (options, args) = parser.parse_args() @@ -83,7 +83,10 @@ options.nocli = False nogzip = options.nogzip - noapport = options.noapport + + apport = options.apport + if apport == None: + apport = True if not options.mandir: mandir = "/man/man1" @@ -197,10 +200,10 @@ install ('resources/linux/birdfont.xml', '/share/mime/packages', 644) #apport hooks - if not noapport: + if apport: install ('resources/birdfont.py', '/share/apport/package-hooks', 644) install ('resources/source_birdfont.py', '/share/apport/package-hooks', 644) install_root ('resources/birdfont-crashdb.conf', '/etc/apport/crashdb.conf.d', 644) installed.close ()
--- a/scripts/version.py +++ b/scripts/version.py @@ -13,7 +13,7 @@ Lesser General Public License for more details. """ - VERSION = '2.6.7' + VERSION = '2.6.8' SO_VERSION_MAJOR = '36' SO_VERSION_MINOR = '0' SO_VERSION = SO_VERSION_MAJOR + '.' + SO_VERSION_MINOR