Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
korinf
etersoft-build-utils
Commits
af211ebe
Commit
af211ebe
authored
Oct 15, 2009
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmurl -p: fix local missed package situation
parent
80fc35e2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
rpmurl
bin/rpmurl
+4
-1
No files found.
bin/rpmurl
View file @
af211ebe
...
@@ -111,6 +111,9 @@ get_pagepkginfo()
...
@@ -111,6 +111,9 @@ get_pagepkginfo()
PKGVERSION
=
`
rpm
-q
--queryformat
"%{VERSION}"
${
i
}
`
PKGVERSION
=
`
rpm
-q
--queryformat
"%{VERSION}"
${
i
}
`
PKGNAME
=
`
rpm
-q
--queryformat
"%{sourcerpm}"
${
i
}
|
sed
-e
"s|-
$VERSION
.*||g"
`
PKGNAME
=
`
rpm
-q
--queryformat
"%{sourcerpm}"
${
i
}
|
sed
-e
"s|-
$VERSION
.*||g"
`
fi
fi
if
[
-z
"
$PKGNAME
"
]
;
then
PKGNAME
=
"
$i
"
fi
RPM_URL
=
$PAGEURL
/
$PKGNAME
RPM_URL
=
$PAGEURL
/
$PKGNAME
}
}
...
@@ -127,7 +130,7 @@ do
...
@@ -127,7 +130,7 @@ do
RPM_URL
=
`
dirname
$SOURCE
`
RPM_URL
=
`
dirname
$SOURCE
`
fi
fi
fi
fi
test
-z
"
$ABOUTDIR
"
&&
test
-z
${
RPM_URL
}
&&
fatal
"Cannot get package Url from spec
$i
"
test
-z
"
$ABOUTDIR
"
&&
test
-z
"
${
RPM_URL
}
"
&&
fatal
"Cannot get package Url from spec
$i
"
if
[
-z
"
$CHECKONLY
"
]
;
then
if
[
-z
"
$CHECKONLY
"
]
;
then
if
[
-n
"
$RPM_URL
"
]
&&
[
"
$RPM_URL
"
!=
"(none)"
]
;
then
if
[
-n
"
$RPM_URL
"
]
&&
[
"
$RPM_URL
"
!=
"(none)"
]
;
then
echog
"Opening URL '
$RPM_URL
' with browser '
$BROWSER
'"
echog
"Opening URL '
$RPM_URL
' with browser '
$BROWSER
'"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment