Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
php-horde-Horde-Text-Filter: remove non-free stuff
- Loading branch information
1 parent
1d6ff9b
commit eacc2c4
Showing
2 changed files
with
32 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/sh | ||
|
||
name=Horde_Text_Filter | ||
list=$(mktemp) | ||
|
||
if [ -f $name-$1.tgz ] | ||
then | ||
tar xif $name-$1.tgz | ||
tar tf $name-$1.tgz >$list.old | ||
|
||
rm $name-$1/lib/Horde/Text/Filter/JavascriptMinify/JsMin.php | ||
sed -e '/JsMin.php/d' -i package.xml | ||
|
||
tar czf $name-$1-strip.tgz package.xml $name-$1 | ||
tar tf $name-$1-strip.tgz | grep -v '/$' >$list.new | ||
|
||
diff $list.old $list.new | ||
rm -rf $name-$1 package.xml | ||
else | ||
echo "usage $0 <version>" | ||
fi | ||
rm -f $list* |