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
08135716
Commit
08135716
authored
Feb 05, 2010
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use download_url from web module
parent
2ee73348
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
11 deletions
+6
-11
rpmgp
bin/rpmgp
+2
-2
rpmgs
bin/rpmgs
+3
-3
rpmurl
bin/rpmurl
+1
-6
No files found.
bin/rpmgp
View file @
08135716
...
...
@@ -11,7 +11,7 @@
# load common functions, compatible with local and installed script
.
`
dirname
$0
`
/../share/eterbuild/functions/common
load_mod rpm repl git rpm
load_mod rpm repl git rpm
web
# path to ALT Linux's repositories
REPOSITORY
=
"files/SRPMS obsolete orphaned"
...
...
@@ -119,7 +119,7 @@ check_system()
check_name
$NAME
if
[
"
$DOWNLOADALL
"
]
;
then
for
i
in
$NLIST
;
do
wget
-c
$URL
/
$i
download_url
$URL
/
$i
done
fi
}
...
...
bin/rpmgs
View file @
08135716
...
...
@@ -14,7 +14,7 @@
# load common functions, compatible with local and installed script
.
`
dirname
$0
`
/../share/eterbuild/functions/common
load_mod rpm tarball
load_mod rpm tarball
web
WEXT
=
""
GETSOURCE
=
""
...
...
@@ -66,7 +66,7 @@ get_archive()
#TODO: check for gz
URL
=
${
GETSOURCE
/.tar.bz2/
}
[
"
$URL
"
=
"
$GETSOURCE
"
]
&&
URL
=
${
GETSOURCE
/.tar/
}
get_tarbal
l
"
$URL
.
$1
"
||
return
download_ur
l
"
$URL
.
$1
"
||
return
WEXT
=
`
basename
"
$URL
"
`
test
-f
"
$WEXT
.
$1
"
||
return
[
"
$1
"
=
"tar.bz2"
]
||
echog
-n
"Converting to
$WEXT
.tar..."
...
...
@@ -76,7 +76,7 @@ get_archive1()
{
#TODO: check for gz
URL
=
${
GETSOURCE
/.bz2/
}
get_tarbal
l
"
$URL$1
"
||
return
download_ur
l
"
$URL$1
"
||
return
WEXT
=
`
basename
"
$URL
"
`
test
-f
"
$WEXT
"
||
return
echog
-n
"Converting to
$WEXT
.bz2..."
...
...
bin/rpmurl
View file @
08135716
...
...
@@ -10,12 +10,7 @@
# load common functions, compatible with local and installed script
.
`
dirname
$0
`
/../share/eterbuild/functions/common
load_mod
which xdg-open 2>/dev/null
>
/dev/null
&&
BROWSER
=
xdg-open
# (command from perl-libwww)
which GET &>/dev/null
&&
GET
=
GET
||
GET
=
false
load_mod rpm web
#############################
...
...
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