linux*-tkg-config/prepare: Fix cleanup step on non-arch distros (#65)
This commit is contained in:

committed by
GitHub

parent
cb07b08a36
commit
afc7b56bcb
@@ -917,6 +917,7 @@ exit_cleanup() {
|
||||
rm -f "$_where"/"$_p"
|
||||
done
|
||||
|
||||
if [ "${_distro}" = "Arch" ]; then
|
||||
if [ "$_NUKR" = "true" ] && [ "$_where" != "$srcdir" ]; then
|
||||
rm -rf "$_where"/src/*
|
||||
# Double tap
|
||||
@@ -970,7 +971,6 @@ exit_cleanup() {
|
||||
rm -f "$srcdir"/linux-${_basekernel}/mm/uksm.c
|
||||
fi
|
||||
|
||||
if [ "${_distro}" = "Arch" ]; then
|
||||
remove_deps
|
||||
fi
|
||||
|
||||
|
@@ -944,6 +944,7 @@ exit_cleanup() {
|
||||
rm -f "$_where"/"$_p"
|
||||
done
|
||||
|
||||
if [ "${_distro}" = "Arch" ]; then
|
||||
if [ "$_NUKR" = "true" ] && [ "$_where" != "$srcdir" ]; then
|
||||
rm -rf "$_where"/src/*
|
||||
# Double tap
|
||||
@@ -997,7 +998,6 @@ exit_cleanup() {
|
||||
rm -f "$srcdir"/linux-${_basekernel}/mm/uksm.c
|
||||
fi
|
||||
|
||||
if [ "${_distro}" = "Arch" ]; then
|
||||
remove_deps
|
||||
fi
|
||||
|
||||
|
@@ -912,6 +912,7 @@ exit_cleanup() {
|
||||
rm -f "$_where"/"$_p"
|
||||
done
|
||||
|
||||
if [ "${_distro}" = "Arch" ]; then
|
||||
if [ "$_NUKR" = "true" ] && [ "$_where" != "$srcdir" ]; then
|
||||
rm -rf "$_where"/src/*
|
||||
# Double tap
|
||||
@@ -965,7 +966,6 @@ exit_cleanup() {
|
||||
rm -f "$srcdir"/linux-${_basekernel}/mm/uksm.c
|
||||
fi
|
||||
|
||||
if [ "${_distro}" = "Arch" ]; then
|
||||
remove_deps
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user