Revert "Fix desktop-base maintainer scripts"
This reverts commit 380c35c31d.
This commit is contained in:
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
update_script() {
|
||||
local script=$1
|
||||
(
|
||||
sed -n -e '1,/^FILES_TO_DIVERT="/ p' $script
|
||||
cat files-to-divert
|
||||
sed -n -e '/^" # END FILES_TO_DIVERT/,$ p' $script
|
||||
) > $script.new
|
||||
mv $script.new $script
|
||||
}
|
||||
|
||||
update_script debian/kali-themes.preinst
|
||||
update_script debian/kali-themes.postinst
|
||||
update_script debian/kali-themes.postrm
|
||||
Reference in New Issue
Block a user