Last change
on this file since 615 was
12,
checked in by arnault, 20 years ago
|
Set executable property ont few scripts
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
|
File size:
840 bytes
|
Line | |
---|
1 | |
---|
2 | |
---|
3 | set -x |
---|
4 | |
---|
5 | version=v1r14 |
---|
6 | |
---|
7 | #------------------------------------------------------------- |
---|
8 | # Install a local RPM database |
---|
9 | #------------------------------------------------------------- |
---|
10 | |
---|
11 | tempdir=/tmp/CMT |
---|
12 | |
---|
13 | rm -rf ${tempdir} |
---|
14 | |
---|
15 | database=${tempdir}/rpm-database |
---|
16 | |
---|
17 | mkdir -p ${database} |
---|
18 | |
---|
19 | rpm --dbpath ${database} --initdb |
---|
20 | rpm --dbpath ${database} -Uvh virtual.rpm |
---|
21 | |
---|
22 | rpm --dbpath ${database} -e CMT |
---|
23 | |
---|
24 | #------------------------------------------------------------- |
---|
25 | # Now Install from the source RPM |
---|
26 | #------------------------------------------------------------- |
---|
27 | |
---|
28 | tempdir1=$1 |
---|
29 | |
---|
30 | if test "${tempdir1}" = ""; then |
---|
31 | tempdir1=/tmp/CMT1 |
---|
32 | rm -rf ${tempdir1} |
---|
33 | mkdir -p ${tempdir1} |
---|
34 | fi |
---|
35 | |
---|
36 | rm -rf ${tempdir1} |
---|
37 | mkdir -p ${tempdir1} |
---|
38 | |
---|
39 | rpm --dbpath ${database} -Uvh --relocate /CMT=${tempdir1}/CMT \ |
---|
40 | --define "_topdir ${tempdir1}" \ |
---|
41 | ../rpm/CMT-${version}-1.src.rpm |
---|
42 | |
---|
43 | |
---|
44 | |
---|
45 | |
---|
Note: See
TracBrowser
for help on using the repository browser.