Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
package-helpers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Andrew M. 'Leny' Lindley
package-helpers
Commits
d4ffb6aa
"helpers/make-apt-p2p" did not exist on "f0e84ebfac8220c9f402a93265ff3c028b58ef9f"
Commit
d4ffb6aa
authored
12 years ago
by
Ruben Rodriguez
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into robur
parents
e3fb9bad
a4f91e78
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
makepackage
+2
-0
2 additions, 0 deletions
makepackage
makepending
+3
-3
3 additions, 3 deletions
makepending
with
5 additions
and
3 deletions
makepackage
+
2
−
0
View file @
d4ffb6aa
...
...
@@ -27,7 +27,9 @@ for VAR in LANG LANGUAGE LC_ALL LC_TIME LC_MONETARY LC_ADDRESS LC_TELEPHONE LC_M
do
unset
$VAR
done
export
LANG
=
C
export
HOME
=
/root
export
DATE
=
$(
date
+
'%a, %d %b %Y %T %z'
)
cd
$(
dirname
$0
)
...
...
This diff is collapsed.
Click to expand it.
makepending
+
3
−
3
View file @
d4ffb6aa
...
...
@@ -23,7 +23,7 @@
if
[
$(
git status
-s
|
wc
-l
)
!=
0
]
then
echo
You have uncommited git changes, stopping
exit
1
[
1
$1
=
1
"test"
]
||
exit
1
fi
PAIRS
=
"robur-hardy taranis-lucid dagda-natty brigantia-oneiric toutatis-precise"
...
...
@@ -87,7 +87,7 @@ LIST=$(echo $LIST | cut -d" " -f2-)
while
[
"
$LIST
"
!=
"EOL"
]
do
TEST
=
$(
echo
$LIST
|
cut
-d
" "
-f1
)
dpkg
--compare-versions
$HI
lt
$TEST
&&
HI
=
$TEST
dpkg
--compare-versions
$HI
lt
$TEST
2>/dev/null
&&
HI
=
$TEST
LIST
=
$(
echo
$LIST
|
cut
-d
" "
-f2-
)
done
echo
$HI
...
...
@@ -101,7 +101,7 @@ current=$( higher $LIST)
LIST
=
$(
egrep ^
${
package
}
_
$UPSTREAM
)
upstream
=
$(
higher
$LIST
)
if
dpkg
--compare-versions
$current
lt
$upstream
if
dpkg
--compare-versions
$current
lt
$upstream
2>/dev/null
then
# echo Current version in $DISTRO: $current 1>&2
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment