mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 07:48:50 -05:00
* Oops. Added some files to make "make update-po" work.
This commit is contained in:
parent
a7df172bee
commit
2df13b6e8f
@ -4,3 +4,5 @@ Makefile.in
|
||||
POTFILES
|
||||
stamp-po
|
||||
|
||||
remove-potcdate.sin
|
||||
remove-potcdate.sed
|
||||
|
19
lib/libalpm/po/remove-potcdate.sin
Normal file
19
lib/libalpm/po/remove-potcdate.sin
Normal file
@ -0,0 +1,19 @@
|
||||
# Sed script that remove the POT-Creation-Date line in the header entry
|
||||
# from a POT file.
|
||||
#
|
||||
# The distinction between the first and the following occurrences of the
|
||||
# pattern is achieved by looking at the hold space.
|
||||
/^"POT-Creation-Date: .*"$/{
|
||||
x
|
||||
# Test if the hold space is empty.
|
||||
s/P/P/
|
||||
ta
|
||||
# Yes it was empty. First occurrence. Remove the line.
|
||||
g
|
||||
d
|
||||
bb
|
||||
:a
|
||||
# The hold space was nonempty. Following occurrences. Do nothing.
|
||||
x
|
||||
:b
|
||||
}
|
@ -4,3 +4,5 @@ Makefile.in
|
||||
POTFILES
|
||||
stamp-po
|
||||
|
||||
remove-potcdate.sin
|
||||
remove-potcdate.sed
|
||||
|
19
src/pacman/po/remove-potcdate.sin
Normal file
19
src/pacman/po/remove-potcdate.sin
Normal file
@ -0,0 +1,19 @@
|
||||
# Sed script that remove the POT-Creation-Date line in the header entry
|
||||
# from a POT file.
|
||||
#
|
||||
# The distinction between the first and the following occurrences of the
|
||||
# pattern is achieved by looking at the hold space.
|
||||
/^"POT-Creation-Date: .*"$/{
|
||||
x
|
||||
# Test if the hold space is empty.
|
||||
s/P/P/
|
||||
ta
|
||||
# Yes it was empty. First occurrence. Remove the line.
|
||||
g
|
||||
d
|
||||
bb
|
||||
:a
|
||||
# The hold space was nonempty. Following occurrences. Do nothing.
|
||||
x
|
||||
:b
|
||||
}
|
Loading…
Reference in New Issue
Block a user