Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-project
Commits
7a7dbd6b
Commit
7a7dbd6b
authored
Jul 29, 2016
by
Jenkins
Committed by
Grégory Starck
Jul 29, 2016
Browse files
automatic submodules update
parents
00f197c4
dc67e9a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/deploy-packages.sh
View file @
7a7dbd6b
...
...
@@ -83,26 +83,30 @@ EOF
## Add packages to the repository ##
####################################
# Sign the debs
echo
"##################"
echo
"## signing debs ##"
echo
"##################"
for
package
in
packages/
${
DISTRIBUTION
}*
/
*
.deb
;
do
# Sign the deb
echo
"## signing:
${
package
}
##"
dpkg-sig
-k
${
KEYID
}
--sign
builder
${
package
}
done
# Include the debs
echo
"####################"
echo
"## including debs ##"
echo
"####################"
for
package
in
packages/
${
DISTRIBUTION
}*
/
*
.deb
;
do
# Include the deb
echo
"## including
${
package
}
##"
package_name
=
$(
dpkg
-I
${
package
}
|
grep
-m
1 Package: |
awk
'{print $2}'
)
package_arch
=
$(
dpkg
-I
${
package
}
|
grep
-m
1 Architecture: |
awk
'{print $2}'
)
if
[
${
package_arch
}
=
"all"
]
;
then
# Removing to avoid the error of adding the same deb twice.
# This happens with arch all packages, which are generated in amd64 and i386.
reprepro
--verbose
--basedir
${
DISTRIBUTION_REPOSITOIRY_FOLDER
}
remove ring
${
package_name
}
fi
reprepro
--verbose
--basedir
${
DISTRIBUTION_REPOSITOIRY_FOLDER
}
includedeb ring
${
package
}
done
# Rebuild the index
reprepro
--verbose
--basedir
${
DISTRIBUTION_REPOSITOIRY_FOLDER
}
export
ring
# Show the contents
reprepro
--verbose
--basedir
${
DISTRIBUTION_REPOSITOIRY_FOLDER
}
list ring
#######################################
## create the manual download folder ##
#######################################
...
...
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