profiles/generate: logo now dynamically generated, no need to generate one

per distro!
This commit is contained in:
Dustin Kirkland 2009-03-31 16:52:40 -05:00
commit 8d7d856a02
5 changed files with 8 additions and 8 deletions

4
debian/changelog vendored
View file

@ -9,7 +9,7 @@ screen-profiles (1.42) unreleased; urgency=low
* po/*: screen-profiles-export translation template
* profiles/common: added 'altscreen on', which cleans the screen for
programs that support this, such as vi and emacs, LP: #349677
* bin/logo, profiles/common: dynamically print logo
* bin/logo, profiles/common, profiles/generate: dynamically print logo
[ Adi Roiban ]
* debian/install, debian/rules, po/POTFILES.python, po/POTFILES.sh,
@ -17,7 +17,7 @@ screen-profiles (1.42) unreleased; urgency=low
in the screen-profiles build and install
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 31 Mar 2009 16:40:00 -0500
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 31 Mar 2009 16:52:12 -0500
screen-profiles (1.41-0ubuntu1) jaunty; urgency=low

View file

@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: 1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-03-31 16:46-0500\n"
"POT-Creation-Date: 2009-03-31 16:51-0500\n"
"PO-Revision-Date: 2008-12-22 01:01-0500\n"
"Last-Translator: Nicolas Valcarcel <nvalcarcel@ubuntu.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

View file

@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: 1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-03-31 16:46-0500\n"
"POT-Creation-Date: 2009-03-31 16:51-0500\n"
"PO-Revision-Date: 2008-12-17 23:42+0100\n"
"Last-Translator: Nicolas Barcet <nicolas.barcet@ubuntu.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

View file

@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-03-31 16:46-0500\n"
"POT-Creation-Date: 2009-03-31 16:51-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

View file

@ -19,7 +19,9 @@
# This script should be run during in the './debian/rules get-orig-source'
# step.
for i in $(ls profiles/logos); do
DISTROS="ubuntu"
for i in $DISTROS; do
rm -f profiles/$i*
if [ "$1" = "--clean" ]; then
echo "Removing profiles for: $i"
@ -27,8 +29,6 @@ for i in $(ls profiles/logos); do
fi
echo "Generating profiles for: $i"
cat profiles/profile.skel > profiles/$i-light
logo="`cat profiles/logos/$i`"
sed -i "s/__LOGO__/$logo/" profiles/$i-light
cp profiles/$i-light profiles/$i-dark
sed -i "s/ Wk/ Kw/g" profiles/$i-dark
sed -i "s/kW/wK/g" profiles/$i-dark