summaryrefslogtreecommitdiffstats
path: root/kernel/update_kernel
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-08 13:06:22 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-08 13:06:22 +0000
commitcf251661c9c3b3c06f4a74af69e7befa97223200 (patch)
tree57f8c8191e2ad168f2bb76e433c89fe8c2e06de5 /kernel/update_kernel
parent40a6a32029a53cba2bca40397f260928c3f3f806 (diff)
downloaddrakx-backup-do-not-use-cf251661c9c3b3c06f4a74af69e7befa97223200.tar
drakx-backup-do-not-use-cf251661c9c3b3c06f4a74af69e7befa97223200.tar.gz
drakx-backup-do-not-use-cf251661c9c3b3c06f4a74af69e7befa97223200.tar.bz2
drakx-backup-do-not-use-cf251661c9c3b3c06f4a74af69e7befa97223200.tar.xz
drakx-backup-do-not-use-cf251661c9c3b3c06f4a74af69e7befa97223200.zip
move all.kernels to the new "kernel" directory
Diffstat (limited to 'kernel/update_kernel')
-rwxr-xr-xkernel/update_kernel6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/update_kernel b/kernel/update_kernel
index fa9600490..9cea09e7d 100755
--- a/kernel/update_kernel
+++ b/kernel/update_kernel
@@ -2,6 +2,12 @@
ALL_KERNELS="all.kernels"
+# move stuff to this new "kernel" directory
+if [ ! -d all.kernels ]; then
+ mv ../all.kernels .
+ rm -rf ../all.modules
+fi
+
function create_marfile() {
marfile=$1
shift