Change name to kali-themes and kali-themes-common
This commit is contained in:
parent
00e09840ea
commit
9481728e58
8
debian/control
vendored
8
debian/control
vendored
@ -10,7 +10,7 @@ Standards-Version: 4.4.1
|
|||||||
Vcs-Git: https://gitlab.com/kalilinux/packages/kali-themes.git
|
Vcs-Git: https://gitlab.com/kalilinux/packages/kali-themes.git
|
||||||
Vcs-Browser: https://gitlab.com/kalilinux/packages/kali-themes
|
Vcs-Browser: https://gitlab.com/kalilinux/packages/kali-themes
|
||||||
|
|
||||||
Package: kali-theme-common
|
Package: kali-themes-common
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: ${misc:Depends}, gtk2-engines-murrine
|
Depends: ${misc:Depends}, gtk2-engines-murrine
|
||||||
Conflicts: gnome-theme-kali
|
Conflicts: gnome-theme-kali
|
||||||
@ -26,7 +26,7 @@ Description: Kali Themes (data files)
|
|||||||
|
|
||||||
Package: kali-desktop-base
|
Package: kali-desktop-base
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: kali-theme-common (= ${source:Version}),
|
Depends: kali-themes-common (= ${source:Version}),
|
||||||
desktop-base (>= 10.0.3),
|
desktop-base (>= 10.0.3),
|
||||||
${misc:Depends}
|
${misc:Depends}
|
||||||
Description: Kali version of Debian's desktop-base package
|
Description: Kali version of Debian's desktop-base package
|
||||||
@ -34,7 +34,7 @@ Description: Kali version of Debian's desktop-base package
|
|||||||
by Debian's desktop-base to provide consistent Kali branding through
|
by Debian's desktop-base to provide consistent Kali branding through
|
||||||
the whole distribution.
|
the whole distribution.
|
||||||
|
|
||||||
Package: kali-theme
|
Package: kali-themes
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: kali-desktop-base (= ${source:Version}),
|
Depends: kali-desktop-base (= ${source:Version}),
|
||||||
${misc:Depends}
|
${misc:Depends}
|
||||||
@ -44,6 +44,6 @@ Description: Configure all desktops to use the Kali theme
|
|||||||
Installing this package should configure most desktops to use the Kali theme
|
Installing this package should configure most desktops to use the Kali theme
|
||||||
by default.
|
by default.
|
||||||
.
|
.
|
||||||
The actual artwork files are provided by kali-theme-common but this package
|
The actual artwork files are provided by kali-themes-common but this package
|
||||||
provides configuration files and other settings for each desktop so that
|
provides configuration files and other settings for each desktop so that
|
||||||
they use the Kali theme by default.
|
they use the Kali theme by default.
|
||||||
|
|||||||
@ -9,4 +9,4 @@ usr/share/icons/
|
|||||||
usr/share/plymouth/
|
usr/share/plymouth/
|
||||||
usr/share/gnome-background-properties/
|
usr/share/gnome-background-properties/
|
||||||
usr/share/wallpapers/
|
usr/share/wallpapers/
|
||||||
xfce/xsettings.xml usr/share/kali-theme-common/
|
xfce/xsettings.xml usr/share/kali-themes-common/
|
||||||
@ -5,7 +5,7 @@ set -e
|
|||||||
if [ "$1" = "configure" ]; then
|
if [ "$1" = "configure" ]; then
|
||||||
for file in /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
|
for file in /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
|
||||||
do
|
do
|
||||||
orig_file="/usr/share/kali-theme-common/$(basename $file)"
|
orig_file="/usr/share/kali-themes-common/$(basename $file)"
|
||||||
if [ ! -e $file ] && [ -e $orig_file ]; then
|
if [ ! -e $file ] && [ -e $orig_file ]; then
|
||||||
echo "Installing $orig_file as $file"
|
echo "Installing $orig_file as $file"
|
||||||
mkdir -p $(dirname $file)
|
mkdir -p $(dirname $file)
|
||||||
@ -5,7 +5,7 @@ set -e
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
remove)
|
remove)
|
||||||
rm -f /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
|
rm -f /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
|
||||||
dpkg-divert --rename --package kali-theme \
|
dpkg-divert --rename --package kali-themes \
|
||||||
--divert /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml.original \
|
--divert /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml.original \
|
||||||
--remove /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
|
--remove /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
|
||||||
;;
|
;;
|
||||||
@ -12,7 +12,7 @@ case "$1" in
|
|||||||
--divert $DIVERT_FILE.original \
|
--divert $DIVERT_FILE.original \
|
||||||
--remove $DIVERT_FILE
|
--remove $DIVERT_FILE
|
||||||
fi
|
fi
|
||||||
dpkg-divert --rename --package kali-theme \
|
dpkg-divert --rename --package kali-themes \
|
||||||
--divert $DIVERT_FILE.original \
|
--divert $DIVERT_FILE.original \
|
||||||
--add $DIVERT_FILE
|
--add $DIVERT_FILE
|
||||||
;;
|
;;
|
||||||
Loading…
x
Reference in New Issue
Block a user