Skip to content

Commit

Permalink
fix license injection
Browse files Browse the repository at this point in the history
  • Loading branch information
sokil committed May 8, 2018
1 parent 8933276 commit 175a865
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ PHP ISO Codes
This library used to get localized names of countries, currencies, languages and scripts.
Based on Python's [pycountry](https://pypi.python.org/pypi/pycountry) and Debian's [iso-codes](http://pkg-isocodes.alioth.debian.org/).

Database version: iso-codes-3.79-69-g060cd4dd from 2018-05-08 22:14
Database version: iso-codes-3.79-69-g060cd4dd from 2018-05-08 22:22

ISO Standarts
-------------
Expand Down
3 changes: 2 additions & 1 deletion databases/LICENSE
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
This files is part of iso-codes library.\nSee license agreement at https://salsa.debian.org/iso-codes-team/iso-codes.git
This files is part of iso-codes library.
See license agreement at https://salsa.debian.org/iso-codes-team/iso-codes.git
3 changes: 2 additions & 1 deletion messages/LICENSE
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
This files is part of iso-codes library.\nSee license agreement at https://salsa.debian.org/iso-codes-team/iso-codes.git
This files is part of iso-codes library.
See license agreement at https://salsa.debian.org/iso-codes-team/iso-codes.git
4 changes: 2 additions & 2 deletions update_db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ rm -rf $DATABASES_DIR
mkdir -p $DATABASES_DIR

# add copyright notice
echo "This files is part of iso-codes library.\nSee license agreement at ${PKG_ISOCODES_REPO}" > $DATABASES_DIR/LICENSE
echo "This files is part of iso-codes library.\nSee license agreement at ${PKG_ISOCODES_REPO}" > $MESSAGES_DIR/LICENSE
echo -e "This files is part of iso-codes library.\nSee license agreement at ${PKG_ISOCODES_REPO}" > $DATABASES_DIR/LICENSE
echo -e "This files is part of iso-codes library.\nSee license agreement at ${PKG_ISOCODES_REPO}" > $MESSAGES_DIR/LICENSE

# move database files
cp $PKG_ISOCODES_DIR/data/iso_*.json $DATABASES_DIR
Expand Down

0 comments on commit 175a865

Please sign in to comment.