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
Merge requests
!1233
apt-mirror: set fixed trisquel release variables for mirror.list
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
apt-mirror: set fixed trisquel release variables for mirror.list
Ark74/package-helpers:fix_2_apt-mirror_11.0
into
aramo
Overview
1
Commits
1
Changes
1
Merged
Luis Guzmán
requested to merge
Ark74/package-helpers:fix_2_apt-mirror_11.0
into
aramo
1 year ago
Overview
1
Commits
1
Changes
1
Expand
0
1
Merge request reports
Compare
aramo
aramo (base)
and
latest version
latest version
bc3425a4
1 commit,
1 year ago
1 file
+
19
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
helpers/make-apt-mirror
+
19
−
1
Options
@@ -18,7 +18,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION
=
3
VERSION=
4
. ./config
@@ -32,6 +32,24 @@ sed "s/stable/$CODENAME/g" -i apt-mirror
sed 's/ contrib//g' -i apt-mirror
sed 's/ non-free//g' -i apt-mirror
# Set fixed Trisquel release variables for mirror.list
cat << EOF | patch --no-backup-if-mismatch -p1
diff --git a/debian/rules b/debian/rules_
index e9c85e9..b6c1c97 100755
--- a/debian/rules
+++ b/debian/rules_
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
-DIST ?= \$(shell lsb_release -si)
-CODENAME ?= \$(shell lsb_release -sc)
+DIST ?= Trisquel
+CODENAME ?= $CODENAME
%:
dh \$@
EOF
changelog "Added config and update manpage for Trisquel."
package
Loading