Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
phitem
Design Linux UGA
Commits
e53011bb
Commit
e53011bb
authored
Jun 10, 2021
by
Maxime Accadia
Browse files
Basic deb packaging script
parent
be968be9
Changes
5
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
e53011bb
jpg
unsplash
design-linux-uga*
notes.md
debian/control
0 → 100644
View file @
e53011bb
Package: design-linux-uga
Version: 1.0
Section: custom
Priority: optional
Architecture: all
Essential: no
Maintainer: maxime.accadia@univ-grenoble-alpes.fr
Description: Fonds d'écran et éléments de design UGA pour Linux
debian/postinst
0 → 100644
View file @
e53011bb
#!/bin/bash
sed
-i
's%^#logo=.*%logo="/usr/share/pixmaps/logo.png"%'
update-initramfs
-u
debian/postrm
0 → 100644
View file @
e53011bb
#!/bin/bash
sed
-i
's%^logo=.*%#logo="/usr/share/pixmaps/logo.png"%'
update-initramfs
-u
mkdeb.sh
0 → 100644
View file @
e53011bb
#!/usr/bin/env bash
set
-e
FAKEROOT
=
"
$(
pwd
)
/design-linux-uga"
rm
-rf
"
$FAKEROOT
"
mkdir
-p
"
$FAKEROOT
/usr/share/backgrounds/uga"
mkdir
-p
"
$FAKEROOT
/usr/share/initramfs-tools/"
mkdir
-p
"
$FAKEROOT
/usr/share/gnome-background-properties/"
mkdir
-p
"
$FAKEROOT
/usr/share/plymouth"
mkdir
-p
"
$FAKEROOT
/usr/share/pixmaps"
mkdir
-p
"
$FAKEROOT
/usr/share/icons"
mkdir
-p
"
$FAKEROOT
/DEBIAN"
cp
debian/control
"
$FAKEROOT
/DEBIAN"
cp
debian/postinst
"
$FAKEROOT
/DEBIAN"
cp
debian/postrm
"
$FAKEROOT
/DEBIAN"
chmod
0755
"
$FAKEROOT
/DEBIAN/postinst"
chmod
0755
"
$FAKEROOT
/DEBIAN/postrm"
# fonds d'écrans
which inkscape
||
sudo
apt
install
inkscape
which mogrify
||
sudo
apt
install
imagemagick
cd
wallpapers
make
make
INSTALL_ROOT
=
"
$FAKEROOT
"
install
cd
-
# plymouth
install
-m
644 plymouth/logo
"
$FAKEROOT
/usr/share/initramfs-tools/conf-hooks.d"
install
-m
644 plymouth/logo.png
"
$FAKEROOT
/usr/share/plymouth"
# icons
install
-m
644 icons/folder-uga.svg
"
$FAKEROOT
/usr/share/icons"
# GDM3
install
-m
644 gdm3/logo.png
"
$FAKEROOT
/usr/share/pixmaps"
dpkg-deb
--build
design-linux-uga
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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