Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
branding-etersoft-ximper
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
branding-etersoft-ximper
Commits
0a21bd5c
You need to sign in or sign up before continuing.
Commit
0a21bd5c
authored
Oct 16, 2019
by
Mikhail Efremov
Committed by
Alexey Shabalin
Nov 15, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
all: Don't touch config files during package update
Apparently we don't want to mess with users configuration. # Conflicts: # branding.spec
parent
de33909b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
branding.spec
branding.spec
+3
-1
No files found.
branding.spec
View file @
0a21bd5c
...
@@ -228,6 +228,7 @@ find %buildroot -name \*.in -delete
...
@@ -228,6 +228,7 @@ find %buildroot -name \*.in -delete
%endif
%endif
%post bootloader
%post bootloader
[ "$1" -eq 1 ] || exit 0
%ifarch %ix86 x86_64
%ifarch %ix86 x86_64
%__ln_s -nf %theme/message /boot/splash/message
%__ln_s -nf %theme/message /boot/splash/message
. /etc/sysconfig/i18n
. /etc/sysconfig/i18n
...
@@ -244,7 +245,7 @@ shell_config_set /etc/sysconfig/grub2 GRUB_COLOR_HIGHLIGHT %grub_high
...
@@ -244,7 +245,7 @@ shell_config_set /etc/sysconfig/grub2 GRUB_COLOR_HIGHLIGHT %grub_high
%ifarch %ix86 x86_64
%ifarch %ix86 x86_64
%preun bootloader
%preun bootloader
[
$1 = 0
] || exit 0
[
"$1" -eq 1
] || exit 0
[ "`readlink /boot/splash/message`" != "%theme/message" ] ||
[ "`readlink /boot/splash/message`" != "%theme/message" ] ||
%__rm -f /boot/splash/message
%__rm -f /boot/splash/message
%endif
%endif
...
@@ -261,6 +262,7 @@ shell_config_set /etc/sysconfig/grub2 GRUB_COLOR_HIGHLIGHT %grub_high
...
@@ -261,6 +262,7 @@ shell_config_set /etc/sysconfig/grub2 GRUB_COLOR_HIGHLIGHT %grub_high
#bootsplash
#bootsplash
%post bootsplash
%post bootsplash
[ "$1" -eq 1 ] || exit 0
subst "s/Theme=.*/Theme=%theme/" /etc/plymouth/plymouthd.conf
subst "s/Theme=.*/Theme=%theme/" /etc/plymouth/plymouthd.conf
[ -f /etc/sysconfig/grub2 ] && \
[ -f /etc/sysconfig/grub2 ] && \
subst "s|GRUB_WALLPAPER=.*|GRUB_WALLPAPER=/usr/share/plymouth/themes/%theme/grub.jpg|" \
subst "s|GRUB_WALLPAPER=.*|GRUB_WALLPAPER=/usr/share/plymouth/themes/%theme/grub.jpg|" \
...
...
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