Last change
on this file since 56c300b was
5f4d9c3,
checked in by Maciej Prill <mprill@…>, 13 years ago
|
Rewritten the build system, added lem UTF-8 version.
|
-
Property mode set to
100755
|
File size:
337 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | # sprawdzamy czy podano argument |
---|
4 | if test $# -lt 1; then echo RPM file name expected!; exit -1; fi |
---|
5 | |
---|
6 | # sprawdzamy czy to plik, potem, czy rpm |
---|
7 | if test -f $1; \ |
---|
8 | then |
---|
9 | if test "rpm" = `ls $1 | tail -c 4`; \ |
---|
10 | then |
---|
11 | rpm -q -R -p $1; \ |
---|
12 | else echo "It's not a RPM file!"; \ |
---|
13 | fi |
---|
14 | else echo RPM file not found!; \ |
---|
15 | fi |
---|
16 | |
---|
Note: See
TracBrowser
for help on using the repository browser.