Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
librem5-user-docs
Commits
441191e8
Commit
441191e8
authored
Feb 05, 2020
by
David Boddie
💬
Browse files
Add profile directory handling to packaging
parent
6550ca26
Pipeline
#51964
passed with stage
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
data/librem5-user-
guide
.desktop.in
→
data/
epiphany-
librem5-user-
docs
.desktop.in
View file @
441191e8
[Desktop Entry]
Name=Librem 5 User Guide
Type=Application
Terminal=false
Exec=epiphany --application-mode --profile="/var/lib/epiphany-librem5-user-docs" file:///usr/share/doc/librem5-user-docs/html/index.html
StartupNotify=true
Exec=gnome-www-browser file:///usr/share/doc/librem5-user-docs/html/index.html
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
Icon=librem5-user-guide
data/meson.build
View file @
441191e8
...
...
@@ -5,8 +5,8 @@ pkgdatadir = join_paths(get_option('prefix'), get_option('datadir'), meson.proje
# directory, found in the project's root, generating a desktop file in the
# build directory.
desktop_file
=
i18n
.
merge_file
(
input
:
'librem5-user-
guide
.desktop.in'
,
output
:
'librem5-user-
guide
.desktop'
,
input
:
'
epiphany-
librem5-user-
docs
.desktop.in'
,
output
:
'
epiphany-
librem5-user-
docs
.desktop'
,
type
:
'desktop'
,
po_dir
:
'../po'
,
install
:
true
,
...
...
debian/librem5-user-docs.postinst
0 → 100644
View file @
441191e8
#!/bin/sh
# postinst script for librem5-user-docs
#
# see: dh_installdeb(1)
set
-e
case
"
$1
"
in
configure
)
mkdir
-p
/var/lib/epiphany-librem5-user-docs
cp
-r
/usr/share/applications/epiphany-librem5-user-docs.desktop /var/lib/epiphany-librem5-user-docs/
cp
-r
/usr/share/icons/hicolor/scalable/apps/librem5-user-guide.svg /var/lib/epiphany-librem5-user-docs/app-icon.svg
chown
-R
purism.purism /var/lib/epiphany-librem5-user-docs
;;
*
)
echo
"postinst called with unknown argument
\`
$1
'"
>
&2
exit
1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit
0
debian/librem5-user-docs.postrm
0 → 100644
View file @
441191e8
#!/bin/sh
# postrm script for librem5-user-docs
#
# see: dh_installdeb(1)
set
-e
case
"
$1
"
in
purge
)
rm
-rf
/var/lib/epiphany-librem5-user-docs
;;
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear
)
;;
*
)
echo
"postrm called with unknown argument
\`
$1
'"
>
&2
exit
1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit
0
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment