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
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
trisquel
package-helpers
Commits
bc5f18ee
Commit
bc5f18ee
authored
4 years ago
by
Luis Guzmán
Committed by
Luis Guzmán
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update to new domain
parent
95333b68
No related branches found
No related tags found
2 merge requests
!358
Sugar artwork t10 fix
,
!321
apt-setup10
Pipeline
#47
passed
4 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
helpers/make-apt-setup
+10
-10
10 additions, 10 deletions
helpers/make-apt-setup
with
10 additions
and
10 deletions
helpers/make-apt-setup
+
10
−
10
View file @
bc5f18ee
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
#
VERSION
=
1
VERSION
=
2
NETINST
=
true
NETINST
=
true
.
./config
.
./config
...
@@ -48,9 +48,9 @@ sed ${START},${END}d debian/apt-mirror-setup.templates -i
...
@@ -48,9 +48,9 @@ sed ${START},${END}d debian/apt-mirror-setup.templates -i
/Canonical/d;
/Canonical/d;
s/main restricted universe multiverse/main/g;
s/main restricted universe multiverse/main/g;
s/dists restricted/dists/g;
s/dists restricted/dists/g;
s/archive.ubuntu.com/archive.trisquel.
info
/g;
s/archive.ubuntu.com/archive.trisquel.
org
/g;
s/security.ubuntu.com/archive.trisquel.
info
/g;
s/security.ubuntu.com/archive.trisquel.
org
/g;
s/ports.ubuntu.com/archive.trisquel.
info
/g;
s/ports.ubuntu.com/archive.trisquel.
org
/g;
s/Ubuntu/Trisquel/g;
s/Ubuntu/Trisquel/g;
s/ubuntu/trisquel/g;
s/ubuntu/trisquel/g;
s/universe/main/g;
s/universe/main/g;
...
@@ -58,24 +58,24 @@ s/main main/main/g;
...
@@ -58,24 +58,24 @@ s/main main/main/g;
s:help.trisquel.com/community/UpgradeNotes:trisquel.info/wiki/:g;'
generators/
*
-i
s:help.trisquel.com/community/UpgradeNotes:trisquel.info/wiki/:g;'
generators/
*
-i
replace
"Default: /ubuntu"
"Default: /trisquel"
.
replace
"Default: /ubuntu"
"Default: /trisquel"
.
replace
"security.ubuntu.com"
"archive.trisquel.
info
"
.
replace
"security.ubuntu.com"
"archive.trisquel.
org
"
.
replace
"archive.ubuntu.com"
"archive.trisquel.
info
"
.
replace
"archive.ubuntu.com"
"archive.trisquel.
org
"
.
replace
"Ubuntu"
"Trisquel"
.
replace
"Ubuntu"
"Trisquel"
.
cd
release-files
cd
release-files
rm
-rf
*
rm
-rf
*
for
DIST
in
$CODENAME
$CODENAME
-security
$CODENAME
-updates
$CODENAME
-backports
for
DIST
in
$CODENAME
$CODENAME
-security
$CODENAME
-updates
$CODENAME
-backports
do
do
wget
-r
-l1
-np
http://archive.trisquel.
info
/trisquel/dists/
$DIST
wget
-r
-l1
-np
http://archive.trisquel.
org
/trisquel/dists/
$DIST
done
done
find archive.trisquel.
info
/ |egrep
'(index.html|robots.txt)'
|xargs
rm
find archive.trisquel.
org
/ |egrep
'(index.html|robots.txt)'
|xargs
rm
cd
..
cd
..
rm
generators/9[1-9]
*
generators/50mirror generators/50mirror.ubuntu
rm
generators/9[1-9]
*
generators/50mirror generators/50mirror.ubuntu
sed
-i
'/generators\/9[1-9]*/d'
debian/apt-setup-udeb.install
sed
-i
'/generators\/9[1-9]*/d'
debian/apt-setup-udeb.install
echo
"generators/50mirror.trisquel usr/lib/apt-setup/generators
echo
"generators/50mirror.trisquel usr/lib/apt-setup/generators
release-files/archive.trisquel.
info
usr/share/apt-setup/release-files"
>
debian/apt-mirror-setup.install
release-files/archive.trisquel.
org
usr/share/apt-setup/release-files"
>
debian/apt-mirror-setup.install
echo
'#!/bin/sh
echo
'#!/bin/sh
set -e
set -e
...
@@ -183,7 +183,7 @@ ${COMMENT}deb $protocol://$hostname$directory $codename-backports main
...
@@ -183,7 +183,7 @@ ${COMMENT}deb $protocol://$hostname$directory $codename-backports main
${COMMENT}deb-src $protocol://$hostname$directory $codename-backports main
${COMMENT}deb-src $protocol://$hostname$directory $codename-backports main
EOF
EOF
apt-setup-signed-release archive.trisquel.
info
"$file"
apt-setup-signed-release archive.trisquel.
org
"$file"
exit 0
exit 0
'
>
generators/50mirror.trisquel
'
>
generators/50mirror.trisquel
...
...
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