Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
phitem
Design Linux UGA
Commits
5084f100
Commit
5084f100
authored
Jun 16, 2021
by
Maxime Accadia
Browse files
Paquet deb fonctionnel
parent
c9943a6d
Pipeline
#69180
passed with stages
in 1 minute and 53 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
debian/postinst
View file @
5084f100
#!/bin/bash
sed
-i
's%^#logo=.*%logo="/usr/share/pixmaps/logo.png"%'
update-initramfs
-u
case
"
$1
"
in
configure
)
sed
-i
's%^#logo=.*%logo="/usr/share/pixmaps/logo.png"%'
/etc/gdm3/greeter.dconf-defaults
if
which update-initramfs
>
/dev/null 2>&1
then
update-initramfs
-u
fi
;;
abort-upgrade|abort-deconfigure|abort-remove
)
;;
*
)
echo
"
$0
called with unknown argument
\`
$1
'"
1>&2
exit
1
;;
esac
exit
0
debian/postrm
View file @
5084f100
#!/bin/bash
LEGACY_LOGO
=
"/usr/share/plymouth/ubuntu-logo.png"
sed
-i
's%^logo=.*%#logo="/usr/share/pixmaps/logo.png"%'
update-initramfs
-u
case
"
${
1
}
"
in
remove
)
if
[
-f
"
${
LEGACY_LOGO
}
.backup"
]
;
then
mv
"
${
LEGACY_LOGO
}
.backup"
"
${
LEGACY_LOGO
}
"
fi
sed
-i
's%^logo=.*%#logo="/usr/share/pixmaps/logo.png"%'
/etc/gdm3/greeter.dconf-defaults
if
which update-initramfs
>
/dev/null 2>&1
;
then
update-initramfs
-u
fi
;;
purge
)
;;
upgrade|failed-upgrade|abort-install|abort-upgrade|disappear
)
;;
*
)
echo
"postrm called with unknown argument
\`
${
1
}
'"
>
&2
exit
1
;;
esac
mkdeb.sh
View file @
5084f100
...
...
@@ -6,7 +6,7 @@ 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/initramfs-tools/
conf-hooks.d
"
mkdir
-p
"
$FAKEROOT
/usr/share/gnome-background-properties/"
mkdir
-p
"
$FAKEROOT
/usr/share/plymouth"
mkdir
-p
"
$FAKEROOT
/usr/share/pixmaps"
...
...
plymouth/logo
View file @
5084f100
...
...
@@ -4,9 +4,13 @@
# Place this file in /usr/share/initramfs-tools/conf-hooks.d/
# Place your logo in `/usr/share/plymouth/logo.png` to replace the Ubuntu logo
# This is a hack : we use a conf-hook instead of normal hook because hooks
# run without order and this should run before the plymouth hook.
LOGO_PNG
=
"/usr/share/plymouth/logo.png"
LEGACY_LOGO
=
"/usr/share/plymouth/ubuntu-logo.png"
if
[
-f
"
${
LOGO_PNG
}
"
]
;
then
test
-f
"
${
LEGACY_LOGO
}
"
&&
cp
--backup
"
${
LOGO_PNG
}
"
"
${
LEGACY_LOGO
}
"
if
[
-f
"
${
LEGACY_LOGO
}
"
-a
-f
"
${
LOGO_PNG
}
"
]
;
then
mv
"
${
LEGACY_LOGO
}
"
"
${
LEGACY_LOGO
}
.backup"
cp
--backup
"
${
LOGO_PNG
}
"
"
${
LEGACY_LOGO
}
"
fi
Write
Preview
Markdown
is supported
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