Add install messenge

This commit is contained in:
dr460nf1r3 2021-03-05 14:18:52 +01:00
parent 16fb36fb51
commit 4825cb7c4a
No known key found for this signature in database
GPG key ID: BE75B9D9767036C2
2 changed files with 25 additions and 2 deletions

View file

@ -34,6 +34,7 @@ options=(!emptydirs !makeflags !strip)
_linux_commit=e123b80f7df1ad9043435f345c426717ca323579
_settings_commit=c5c75a39dd91a8772255a78493853be6553262b2
_repo=https://hg.mozilla.org/mozilla-unified
install=firedragon.install
source_x86_64=("hg+$_repo#revision=autoland"
$pkgname.desktop
"git+https://gitlab.com/dr460nf1r3/common.git"
@ -102,7 +103,7 @@ export RANLIB=llvm-ranlib
ac_add_options --enable-update-channel=nightly
ac_add_options --with-app-name=${pkgname}
ac_add_options --with-app-basename='${_pkgname}'
ac_add_options --with-branding=browser/branding/${pkgname}
ac_add_options --with-branding=browser/branding/firedragon
ac_add_options --with-distribution-id=org.garudalinux
ac_add_options --with-unsigned-addon-scopes=app,system
ac_add_options --allow-addon-sideload
@ -166,7 +167,7 @@ END
fi
# Remove some pre-installed addons that might be questionable
patch -p1 -i ../remove_addons.patch
# patch -p1 -i ../remove_addons.patch
# To enable global menubar
# Set these to true:

22
firedragon.install Normal file
View file

@ -0,0 +1,22 @@
msg() {
ALL_OFF="\e[1;0m"
BOLD="\e[1;1m"
RED="${BOLD}\e[1;31m"
local mesg=$1; shift
printf "${RED}==>${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}" "$@" >&2
}
post_install() {
post_upgrade
}
post_upgrade() {
msg "Included are profiles for Firejail and profile-sync-daemon,"
echo ""
msg "which you can symlink from /usr/lib/plasmafox/distribution"
echo ""
msg "to /etc/firejail and /usr/share/psd/browsers respectively."
echo ""
msg "Enjoy the Firedragon 🔥🐉"
echo ""
}