summaryrefslogtreecommitdiffstats
path: root/rescue/make_rescue_img
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-06-12 17:58:36 +0000
committerOlivier Blin <oblin@mandriva.com>2008-06-12 17:58:36 +0000
commit15cf874f06142791acd3ca0da1c4c7bd5a999913 (patch)
tree16f94a5a0486a903dd655c1691cc604425648856 /rescue/make_rescue_img
parent085687d81692fdb642ca9b264a8f89175212877c (diff)
downloaddrakx-backup-do-not-use-15cf874f06142791acd3ca0da1c4c7bd5a999913.tar
drakx-backup-do-not-use-15cf874f06142791acd3ca0da1c4c7bd5a999913.tar.gz
drakx-backup-do-not-use-15cf874f06142791acd3ca0da1c4c7bd5a999913.tar.bz2
drakx-backup-do-not-use-15cf874f06142791acd3ca0da1c4c7bd5a999913.tar.xz
drakx-backup-do-not-use-15cf874f06142791acd3ca0da1c4c7bd5a999913.zip
remove dead code (done by install-xml-file-list now)
Diffstat (limited to 'rescue/make_rescue_img')
-rwxr-xr-xrescue/make_rescue_img20
1 files changed, 0 insertions, 20 deletions
diff --git a/rescue/make_rescue_img b/rescue/make_rescue_img
index 383846ac4..863f45371 100755
--- a/rescue/make_rescue_img
+++ b/rescue/make_rescue_img
@@ -15,26 +15,6 @@ BEGIN { undef *_ }
sub __ { print @_, "\n"; system(@_) }
sub _ { __ @_; $? and die }
-sub installown($$) {
- my ($own, $dir) = @_;
- return if -e "$tmp$dir/" . basename($own);
- mkdir_p("$tmp$dir");
- _ "cp -rL $own $tmp$dir";
-}
-
-sub install_perl_script {
- my ($script, $dir) = @_;
- my @gi_modules;
- foreach (`../tools/get-needed-drakx-modules /usr/lib/libDrakX /usr/lib/libDrakX $script`) {
- chomp;
- my ($local, $dest) = split "\t";
- installown($local, dirname($dest || $local));
- push @gi_modules, "$tmp$dest" if $dest;
- }
- installown($script, $dir);
- system('../tools/simplify-drakx-modules', @gi_modules, "$tmp$dir/$script");
-}
-
_ "rm -rf $tmp" if -e $tmp;
_ "mkdir $tmp";
_ 'find . -name "*~" | xargs rm -f';