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
Package Registry
Model registry
Operate
Terraform modules
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
Eliab Andi Artz
package-helpers
Commits
73928464
Commit
73928464
authored
12 years ago
by
Ruben Rodriguez
Browse files
Options
Downloads
Patches
Plain Diff
Updated firefox and ubiquity scripts so they work with modification-aware-sed
parent
622fb1ba
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
helpers/make-firefox
+1
-1
1 addition, 1 deletion
helpers/make-firefox
helpers/make-ubiquity
+5
-4
5 additions, 4 deletions
helpers/make-ubiquity
with
6 additions
and
5 deletions
helpers/make-firefox
+
1
−
1
View file @
73928464
...
...
@@ -78,7 +78,7 @@ sed "s_^Maintainer.*_Maintainer: $DEBFULLNAME <$DEBEMAIL>_g" -i debian/control.i
find -type d | grep firefox | xargs rename s/firefox/abrowser/
find -type f | grep firefox | xargs rename s/firefox/abrowser/
replace(){
find $3 -type f |grep -v changelog |grep -v copyright | xargs sed -i s^"$1"^"$2"^g
find $3 -type f |grep -v changelog |grep -v copyright | xargs
-i
sed -i s^"$1"^"$2"^g
"{}"
}
replace firefox abrowser .
replace Firefox Abrowser .
...
...
This diff is collapsed.
Click to expand it.
helpers/make-ubiquity
+
5
−
4
View file @
73928464
...
...
@@ -25,7 +25,7 @@ cp $DATA/trisquel_installed.png pixmaps
rm
pixmaps/ubuntu_installed.png
replace ubuntu_installed trisquel_installed
.
sed
'/canonical/d'
-i
debian/ubiquity.install
*
/bin/
sed
'/canonical/d'
-i
debian/ubiquity.install
*
rm
tests/test_ubi_partman
*
export
DEB_BUILD_OPTIONS
=
nocheck
...
...
@@ -35,7 +35,7 @@ sed 's:\(targetdb)\):\1\n os.system("sudo chmod 644 /target/var/cache/deb
for
i
in
$(
ls
-1
d-i/source/apt-setup/generators |grep
-v
01setup
)
canonical.com security.ubuntu.com extras.ubuntu.com
do
sed
/
$i
/d
-i
debian/ubiquity.install-any d-i/source/apt-setup/debian/
*
.install
/bin/
sed /
$i
/d
-i
debian/ubiquity.install-any d-i/source/apt-setup/debian/
*
.install
done
echo
"d-i/source/apt-setup/generators/99trisquel usr/lib/ubiquity/apt-setup/generators"
>>
debian/ubiquity.install-any
...
...
@@ -102,8 +102,9 @@ replace archive.ubuntu.com/ubuntu archive.trisquel.info/trisquel .
replace security.ubuntu.com/trisquel archive.trisquel.info/trisquel
.
replace archive.ubuntu.com archive.trisquel.info
.
replace security.ubuntu.com archive.trisquel.info
.
sed
-i
's/apt-install/true #apt-install/'
ubiquity/components/check_kernels.py scripts/check-kernels
sed
-i
'82s/True/False/g'
gui/gtk/stepPrepare.ui
#sed -i 's/apt-install/true #apt-install/' ubiquity/components/check_kernels.py
sed
-i
's/apt-install/true #apt-install/'
scripts/check-kernels
#sed -i '82s/True/False/g' gui/gtk/stepPrepare.ui
rm
-rf
d-i/source/apt-setup/release-files/
*
for
DIST
in
$CODENAME
$CODENAME
-security
$CODENAME
-updates
$CODENAME
-backports
...
...
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