artifacts_all.sh on debian
This commit is contained in:
parent
c789457faa
commit
7fff5d28d4
3 changed files with 41 additions and 20 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
function artifacts_win_details(){
|
function artifacts_win_details() {
|
||||||
|
|
||||||
exe=.exe
|
exe=.exe
|
||||||
objdir=obj-x86_64-pc-mingw32/dist/firefox
|
objdir=obj-x86_64-pc-mingw32/dist/firefox
|
||||||
ospkg=win64
|
ospkg=win64
|
||||||
|
|
@ -92,9 +93,8 @@ popd
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function artifacts_deb_details() {
|
||||||
|
|
||||||
|
|
||||||
function artifacts_deb_details(){
|
|
||||||
exe=
|
exe=
|
||||||
objdir=obj-x86_64-pc-linux-gnu/dist/firefox
|
objdir=obj-x86_64-pc-linux-gnu/dist/firefox
|
||||||
ospkg=deb
|
ospkg=deb
|
||||||
|
|
@ -116,21 +116,14 @@ cp -rv settings/* librewolf
|
||||||
# rename the executable manually
|
# rename the executable manually
|
||||||
pushd librewolf ; mv -v firefox$exe librewolf$exe ; popd
|
pushd librewolf ; mv -v firefox$exe librewolf$exe ; popd
|
||||||
# clean garbage files
|
# clean garbage files
|
||||||
cd librewolf ; rm -rf maintenanceservice* pingsender* firefox.*.xml precomplete removed-files ; cd ..
|
cd librewolf ; rm -rf maintenanceservice* pingsender* firefox.*.xml precomplete removed-files uninstall ; cd ..
|
||||||
|
# copy the windows icon
|
||||||
|
cp -v common/source_files/browser/branding/librewolf/firefox.ico librewolf/librewolf.ico
|
||||||
|
|
||||||
# linux: copy app icon stuff
|
# create the final zip/exe artifacts
|
||||||
cp files/register-librewolf files/start-librewolf files/start-librewolf.desktop.in librewolf
|
|
||||||
|
|
||||||
# create the final zip artifact
|
|
||||||
rm -f librewolf-$pkgver.en-US.$ospkg.zip
|
|
||||||
zip -qr9 librewolf-$pkgver.en-US.$ospkg.zip librewolf
|
|
||||||
if [ $? -ne 0 ]; then exit 1; fi
|
|
||||||
|
|
||||||
# now to try to make the installer
|
|
||||||
# (create a .deb here)
|
|
||||||
|
|
||||||
# patch to permissive config
|
|
||||||
if [ ! -z $permissive ]; then
|
if [ ! -z $permissive ]; then
|
||||||
|
|
||||||
|
# patch to permissive config
|
||||||
pushd librewolf
|
pushd librewolf
|
||||||
echo "Applying permissive patches..."
|
echo "Applying permissive patches..."
|
||||||
cp -v ../settings/librewolf.cfg . && cp -v ../settings/distribution/policies.json distribution
|
cp -v ../settings/librewolf.cfg . && cp -v ../settings/distribution/policies.json distribution
|
||||||
|
|
@ -145,6 +138,34 @@ if [ ! -z $permissive ]; then
|
||||||
|
|
||||||
# now to try to make the installer
|
# now to try to make the installer
|
||||||
# (create a .deb here)
|
# (create a .deb here)
|
||||||
|
|
||||||
|
elif [ ! -z $strict ]; then
|
||||||
|
|
||||||
|
# patch to strict config
|
||||||
|
pushd librewolf
|
||||||
|
echo "Applying strict config..."
|
||||||
|
cp -v ../settings/librewolf.cfg . && cp -v ../settings/distribution/policies.json distribution
|
||||||
|
patch -p1 -i ../patches/strict/librewolf-config.patch
|
||||||
|
patch -p1 -i ../patches/strict/librewolf-policies.patch
|
||||||
|
popd
|
||||||
|
|
||||||
|
# create the final zip artifact
|
||||||
|
rm -f librewolf-$pkgver.en-US.$ospkg-strict.zip
|
||||||
|
zip -qr9 librewolf-$pkgver.en-US.$ospkg-strict.zip librewolf
|
||||||
|
if [ $? -ne 0 ]; then exit 1; fi
|
||||||
|
|
||||||
|
# now to try to make the installer
|
||||||
|
# (create a .deb here)
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
rm -f librewolf-$pkgver.en-US.$ospkg.zip
|
||||||
|
zip -qr9 librewolf-$pkgver.en-US.$ospkg.zip librewolf
|
||||||
|
if [ $? -ne 0 ]; then exit 1; fi
|
||||||
|
|
||||||
|
# now to try to make the installer
|
||||||
|
# (create a .deb here)
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
popd
|
popd
|
||||||
|
|
|
||||||
2
linux
2
linux
|
|
@ -1 +1 @@
|
||||||
Subproject commit 48ff5108bd2f3c391bfc54b73871524e8816ec1a
|
Subproject commit a2061e3ef1ca9aa07c3ff82028c82e5f2d2a97ab
|
||||||
2
settings
2
settings
|
|
@ -1 +1 @@
|
||||||
Subproject commit 9ba36a97a914a9ec96860c836d420baacbb3bd66
|
Subproject commit 82cce8b42a14cc85196fd4f496181cf6b241dce0
|
||||||
Loading…
Add table
Reference in a new issue