Revision 25998,
808 bytes
checked in by vasilvv, 12 years ago
(diff) |
Fix debathena-chromium-config per review notes:
* Use substvar to specifically depend upon the correct chromium package
* Avoid pulling in space shooter by explicitly specifying chromiun (>= 1)
* Fail if configuration file transform does not work
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | #!/usr/bin/make -f |
---|
2 | |
---|
3 | %: |
---|
4 | dh $@ --with config-package |
---|
5 | |
---|
6 | # Disambiguate between distro versions with chromium-browser and ones with |
---|
7 | # chromium |
---|
8 | override_dh_configpackage: |
---|
9 | ifneq ($(wildcard /etc/chromium-browser/default),) |
---|
10 | dh_configpackage --transform "/etc/chromium-browser/default.debathena perl -0777 -pe's/\nCHROMIUM_FLAGS=\"/\nCHROMIUM_FLAGS=\"--auth-server-whitelist=idp.mit.edu / or die'" |
---|
11 | echo "chromium-package-name=chromium-browser" >> debian/debathena-chromium-config.substvars |
---|
12 | else |
---|
13 | ifneq ($(wildcard /etc/chromium/default),) |
---|
14 | dh_configpackage --transform "/etc/chromium/default.debathena perl -0777 -pe's/\nCHROMIUM_FLAGS=\"/\nCHROMIUM_FLAGS=\"--auth-server-whitelist=idp.mit.edu / or die'" |
---|
15 | echo "chromium-package-name=chromium" >> debian/debathena-chromium-config.substvars |
---|
16 | else |
---|
17 | exit 1 |
---|
18 | endif |
---|
19 | endif |
---|
Note: See
TracBrowser
for help on using the repository browser.