Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
osak
lipck
Commits
5054f348
Commit
5054f348
authored
Oct 11, 2015
by
Christopher Spinrath
Browse files
scripts: repo_packages: fix path to read_packages.py
parent
85675c23
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/repo_packages.sh
View file @
5054f348
...
...
@@ -41,7 +41,7 @@ if [ ! -d "$SCRIPT_DIR" ]; then
fi
#all packages that do not have an urls field (and thus, should be resolved using apt)
PKG_LIST
=
$(
"
$SCRIPT_DIR
/read_packages.py"
"
$CONTRIB_DIR
/offline_repo.json"
|
grep
-E
"^[^[:space:]]+$"
|
tr
"
\n
"
" "
)
PKG_LIST
=
$(
"
$SCRIPT_DIR
/
scripts/
read_packages.py"
"
$CONTRIB_DIR
/offline_repo.json"
|
grep
-E
"^[^[:space:]]+$"
|
tr
"
\n
"
" "
)
PKG_DESTINATION
=
$DESTINATION
/archives
...
...
@@ -62,7 +62,7 @@ PKG_URLS=$(apt-get install --reinstall --print-uris -qq $PKG_LIST | cut -d"'" -f
echo
"package urls:"
echo
"
$PKG_URLS
"
PKG_URLS
=
"
$PKG_URLS
$(
"
$SCRIPT_DIR
/read_packages.py"
"
$CONTRIB_DIR
/offline_repo.json"
|
cut
-f2-
-s
-d
" "
|
tr
"
\n
"
" "
)
"
PKG_URLS
=
"
$PKG_URLS
$(
"
$SCRIPT_DIR
/
scripts/
read_packages.py"
"
$CONTRIB_DIR
/offline_repo.json"
|
cut
-f2-
-s
-d
" "
|
tr
"
\n
"
" "
)
"
echo
"downloading archives. this may take some time..."
wget
-nc
-P
$PKG_DESTINATION
$PKG_URLS
...
...
Write
Preview
Supports
Markdown
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