From ce6970daa44f6cd66d62bcf391e648a7ca5d332d Mon Sep 17 00:00:00 2001 From: Maat Date: Sat, 27 Mar 2021 21:28:45 +0100 Subject: Adding modeline to standardize indentation --- gurpmi | 1 + gurpmi2 | 1 + rpm-find-leaves | 1 + rurpme | 1 + rurpmi | 1 + t/01compile.t | 1 + t/02create_pkgs.t | 1 + t/03kwality.t | 1 + t/cfg.t | 1 + t/gendistrib | 1 + t/genhdlist2 | 1 + t/simple-httpd | 1 + t/superuser--README-urpmi.t | 1 + t/superuser--addmedia.t | 1 + t/superuser--arch_to_noarch.t | 1 + t/superuser--backtrack-promotion.t | 1 + t/superuser--best-versioned-provide.t | 1 + t/superuser--buggy-rpms.t | 1 + t/superuser--dropped-provides.t | 1 + t/superuser--epochless-conflict-with-promotion.t | 1 + t/superuser--exclude.t | 1 + t/superuser--failing-promotion.t | 1 + t/superuser--failing-scriptlets.t | 1 + t/superuser--file-conflicts.t | 1 + t/superuser--handle-conflict-deps.t | 1 + t/superuser--handle-conflict-deps2.t | 1 + t/superuser--http.t | 1 + t/superuser--media_info_dir.t | 1 + t/superuser--mirrorlist.t | 1 + t/superuser--obsolete-and-conflict.t | 1 + t/superuser--ordering-scriptlets.t | 1 + t/superuser--orphans.t | 1 + t/superuser--prefer.t | 1 + t/superuser--prefer2.t | 1 + t/superuser--priority-upgrade.t | 1 + t/superuser--provide-and-no-obsolete.t | 1 + t/superuser--rpm.t | 1 + t/superuser--rpmnew.t | 1 + t/superuser--should-restart.t | 1 + t/superuser--specify-media.t | 1 + t/superuser--split-transactions--conflict.t | 1 + t/superuser--split-transactions--promote.t | 1 + t/superuser--split-transactions--strict-require-and-obsolete.t | 1 + t/superuser--split-transactions--strict-require.t | 1 + t/superuser--split-transactions.t | 1 + t/superuser--srpm-bootstrapping.t | 1 + t/superuser--suggests.t | 1 + t/superuser--urpmi_update.t | 1 + urpme | 1 + urpmf | 1 + urpmi | 2 +- urpmi.addmedia | 2 +- urpmi.removemedia | 1 + urpmi.update | 1 + urpmq | 1 + 55 files changed, 55 insertions(+), 2 deletions(-) diff --git a/gurpmi b/gurpmi index 7e123fc8..d3967e7d 100755 --- a/gurpmi +++ b/gurpmi @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 #- Copyright (C) 2005 MandrakeSoft SA #- Copyright (C) 2005-2010 Mandriva SA diff --git a/gurpmi2 b/gurpmi2 index 0c874800..3c16cf99 100755 --- a/gurpmi2 +++ b/gurpmi2 @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 #- Copyright (C) 2005 MandrakeSoft SA #- Copyright (C) 2005-2010 Mandriva SA diff --git a/rpm-find-leaves b/rpm-find-leaves index 7d4adc37..cfdd360f 100644 --- a/rpm-find-leaves +++ b/rpm-find-leaves @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 use strict; diff --git a/rurpme b/rurpme index 8aba601c..ac55c0f1 100644 --- a/rurpme +++ b/rurpme @@ -1,4 +1,5 @@ #!/usr/bin/perl -T +# vim:et:ai:ts=4:sts=4:sw=4 #- Copyright (C) 2005-2010 Mandriva SA #- Copyright (C) 2011-2020 Mageia diff --git a/rurpmi b/rurpmi index 32c85af8..3833278a 100644 --- a/rurpmi +++ b/rurpmi @@ -1,4 +1,5 @@ #!/usr/bin/perl -T +# vim:et:ai:ts=4:sts=4:sw=4 #- Copyright (C) 2005 MandrakeSoft SA #- Copyright (C) 2005-2010 Mandriva SA diff --git a/t/01compile.t b/t/01compile.t index 2b81d0c3..b9a1a208 100644 --- a/t/01compile.t +++ b/t/01compile.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 use strict; use warnings; diff --git a/t/02create_pkgs.t b/t/02create_pkgs.t index 65eec471..a55b36c7 100644 --- a/t/02create_pkgs.t +++ b/t/02create_pkgs.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 use strict; use lib '.', 't'; diff --git a/t/03kwality.t b/t/03kwality.t index a45a1636..d4f58d44 100644 --- a/t/03kwality.t +++ b/t/03kwality.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 use Test::More; plan skip_all => "These tests are for authors only!" unless $ENV{AUTHOR_TESTING} or $ENV{RELEASE_TESTING}; diff --git a/t/cfg.t b/t/cfg.t index d47a6c8b..4b566692 100644 --- a/t/cfg.t +++ b/t/cfg.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 use strict; use Test::More 'no_plan'; diff --git a/t/gendistrib b/t/gendistrib index e0457505..7071336c 100755 --- a/t/gendistrib +++ b/t/gendistrib @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 (our $VERSION) = q(Id: gendistrib 20724 2006-11-30 13:13:27Z rafael ) =~ /(\d+)/; diff --git a/t/genhdlist2 b/t/genhdlist2 index 04c95b7d..1b8225e2 100755 --- a/t/genhdlist2 +++ b/t/genhdlist2 @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 our ($VERSION) = q(Id: genhdlist2 20460 2006-11-23 13:19:11Z pixel ) =~ /(\d+\.\d+)/; diff --git a/t/simple-httpd b/t/simple-httpd index fcc9a301..2932734b 100755 --- a/t/simple-httpd +++ b/t/simple-httpd @@ -1,4 +1,5 @@ #!/usr/bin/perl -w +# vim:et:ai:ts=4:sts=4:sw=4 ###----------------------------------------### ### httpd server class ### diff --git a/t/superuser--README-urpmi.t b/t/superuser--README-urpmi.t index 91b4c9c9..fb45b144 100644 --- a/t/superuser--README-urpmi.t +++ b/t/superuser--README-urpmi.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 use strict; use lib '.', 't'; diff --git a/t/superuser--addmedia.t b/t/superuser--addmedia.t index 5f843a82..70e4bf3c 100644 --- a/t/superuser--addmedia.t +++ b/t/superuser--addmedia.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 use strict; use lib '.', 't'; diff --git a/t/superuser--arch_to_noarch.t b/t/superuser--arch_to_noarch.t index 71c56b97..640ba9cc 100644 --- a/t/superuser--arch_to_noarch.t +++ b/t/superuser--arch_to_noarch.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 use strict; use lib '.', 't'; diff --git a/t/superuser--backtrack-promotion.t b/t/superuser--backtrack-promotion.t index 5b4a0c4b..e73485e1 100644 --- a/t/superuser--backtrack-promotion.t +++ b/t/superuser--backtrack-promotion.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 # # testcase for bug #52105 # diff --git a/t/superuser--best-versioned-provide.t b/t/superuser--best-versioned-provide.t index a11a9df1..cd0dfb26 100644 --- a/t/superuser--best-versioned-provide.t +++ b/t/superuser--best-versioned-provide.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 # a_cc requires cc # a_dd requires dd diff --git a/t/superuser--buggy-rpms.t b/t/superuser--buggy-rpms.t index 6f4d1ba0..08f3a11f 100644 --- a/t/superuser--buggy-rpms.t +++ b/t/superuser--buggy-rpms.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 use strict; use lib '.', 't'; diff --git a/t/superuser--dropped-provides.t b/t/superuser--dropped-provides.t index e174cea7..98f71a2e 100644 --- a/t/superuser--dropped-provides.t +++ b/t/superuser--dropped-provides.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 # (mdvbz#40842) # diff --git a/t/superuser--epochless-conflict-with-promotion.t b/t/superuser--epochless-conflict-with-promotion.t index bf0961b3..21050f44 100644 --- a/t/superuser--epochless-conflict-with-promotion.t +++ b/t/superuser--epochless-conflict-with-promotion.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 # a-1 does not have epoch # a-2 has epoch 1 diff --git a/t/superuser--exclude.t b/t/superuser--exclude.t index a2ab10b2..a666a180 100644 --- a/t/superuser--exclude.t +++ b/t/superuser--exclude.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 use strict; use lib '.', 't'; diff --git a/t/superuser--failing-promotion.t b/t/superuser--failing-promotion.t index 64f5b258..f4f2ffb8 100644 --- a/t/superuser--failing-promotion.t +++ b/t/superuser--failing-promotion.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 # # testcase for bug #50666 # diff --git a/t/superuser--failing-scriptlets.t b/t/superuser--failing-scriptlets.t index dcd0b387..5c53c060 100644 --- a/t/superuser--failing-scriptlets.t +++ b/t/superuser--failing-scriptlets.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 use strict; use lib '.', 't'; diff --git a/t/superuser--file-conflicts.t b/t/superuser--file-conflicts.t index 53301c0a..a0aff6c3 100644 --- a/t/superuser--file-conflicts.t +++ b/t/superuser--file-conflicts.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 # a and b contains the same file name, with different content => should fail # a and c contents the same file name, with same content => should work diff --git a/t/superuser--handle-conflict-deps.t b/t/superuser--handle-conflict-deps.t index 5a372cba..1ba3246b 100644 --- a/t/superuser--handle-conflict-deps.t +++ b/t/superuser--handle-conflict-deps.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 # b requires b-sub # a-sup requires a diff --git a/t/superuser--handle-conflict-deps2.t b/t/superuser--handle-conflict-deps2.t index 5894e1b4..f48b4d3b 100644 --- a/t/superuser--handle-conflict-deps2.t +++ b/t/superuser--handle-conflict-deps2.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 # a1-1 upgrades to a1-2 # b-1 upgrades to b-2 which requires a2 diff --git a/t/superuser--http.t b/t/superuser--http.t index 84a1924a..e83dc4f7 100644 --- a/t/superuser--http.t +++ b/t/superuser--http.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 use strict; use lib '.', 't'; diff --git a/t/superuser--media_info_dir.t b/t/superuser--media_info_dir.t index d2575b0a..d0c22393 100644 --- a/t/superuser--media_info_dir.t +++ b/t/superuser--media_info_dir.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 use strict; use lib '.', 't'; diff --git a/t/superuser--mirrorlist.t b/t/superuser--mirrorlist.t index cc3a8be6..cebcc96c 100644 --- a/t/superuser--mirrorlist.t +++ b/t/superuser--mirrorlist.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 use strict; use lib '.', 't'; diff --git a/t/superuser--obsolete-and-conflict.t b/t/superuser--obsolete-and-conflict.t index ab469b32..d95b6b78 100644 --- a/t/superuser--obsolete-and-conflict.t +++ b/t/superuser--obsolete-and-conflict.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 # package "a" is split into "b" and "c", # where "b" obsoletes/provides "a" and requires "c" diff --git a/t/superuser--ordering-scriptlets.t b/t/superuser--ordering-scriptlets.t index 6f29ce9d..55b16b5c 100644 --- a/t/superuser--ordering-scriptlets.t +++ b/t/superuser--ordering-scriptlets.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 # /bin/a in package is a simple "cat" use strict; diff --git a/t/superuser--orphans.t b/t/superuser--orphans.t index 216a54e3..55652970 100644 --- a/t/superuser--orphans.t +++ b/t/superuser--orphans.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 # a-1 upgrades to a-2 # b-1 upgrades to bb-2 (via obsoletes) diff --git a/t/superuser--prefer.t b/t/superuser--prefer.t index d9b539a9..e07a5ad4 100644 --- a/t/superuser--prefer.t +++ b/t/superuser--prefer.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 use strict; use lib '.', 't'; diff --git a/t/superuser--prefer2.t b/t/superuser--prefer2.t index b92a11b8..e8a7f7ae 100644 --- a/t/superuser--prefer2.t +++ b/t/superuser--prefer2.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 # testcase for bug #46874 # a requires both bb and b2 diff --git a/t/superuser--priority-upgrade.t b/t/superuser--priority-upgrade.t index 26252f00..862baae3 100644 --- a/t/superuser--priority-upgrade.t +++ b/t/superuser--priority-upgrade.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 use strict; use lib '.', 't'; diff --git a/t/superuser--provide-and-no-obsolete.t b/t/superuser--provide-and-no-obsolete.t index 9e338127..8c9b21aa 100644 --- a/t/superuser--provide-and-no-obsolete.t +++ b/t/superuser--provide-and-no-obsolete.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 # a somewhat weird in urpmi that can somehow be workarounded # diff --git a/t/superuser--rpm.t b/t/superuser--rpm.t index 71a16cb1..d0e807d9 100644 --- a/t/superuser--rpm.t +++ b/t/superuser--rpm.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 use strict; use lib '.', 't'; diff --git a/t/superuser--rpmnew.t b/t/superuser--rpmnew.t index 18012cd6..6568c9a2 100644 --- a/t/superuser--rpmnew.t +++ b/t/superuser--rpmnew.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 use strict; use lib '.', 't'; diff --git a/t/superuser--should-restart.t b/t/superuser--should-restart.t index 4943e241..7bff8e86 100644 --- a/t/superuser--should-restart.t +++ b/t/superuser--should-restart.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 # "a" provides "should-restart = system" # "c" provides "should-restart = system" diff --git a/t/superuser--specify-media.t b/t/superuser--specify-media.t index 32a143df..4fa25cda 100644 --- a/t/superuser--specify-media.t +++ b/t/superuser--specify-media.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 use strict; use lib '.', 't'; diff --git a/t/superuser--split-transactions--conflict.t b/t/superuser--split-transactions--conflict.t index d34f7b66..e5c7ecbb 100644 --- a/t/superuser--split-transactions--conflict.t +++ b/t/superuser--split-transactions--conflict.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 # a requires b # b-1 requires c diff --git a/t/superuser--split-transactions--promote.t b/t/superuser--split-transactions--promote.t index 8b63e06e..f1cbe012 100644 --- a/t/superuser--split-transactions--promote.t +++ b/t/superuser--split-transactions--promote.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 # a-1 requires b-1 # a-2 requires b-2 diff --git a/t/superuser--split-transactions--strict-require-and-obsolete.t b/t/superuser--split-transactions--strict-require-and-obsolete.t index ded6afe0..8d288fc2 100644 --- a/t/superuser--split-transactions--strict-require-and-obsolete.t +++ b/t/superuser--split-transactions--strict-require-and-obsolete.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 # a requires b : bb or b # bb requires c-1 diff --git a/t/superuser--split-transactions--strict-require.t b/t/superuser--split-transactions--strict-require.t index 7c48d479..08edfe63 100644 --- a/t/superuser--split-transactions--strict-require.t +++ b/t/superuser--split-transactions--strict-require.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 # a-1 requires b-1 # b-1 requires c-1 diff --git a/t/superuser--split-transactions.t b/t/superuser--split-transactions.t index 04a3f561..b9c8f2f8 100644 --- a/t/superuser--split-transactions.t +++ b/t/superuser--split-transactions.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 # packages "a" and "b" require each other, and so must installed in same transaction # package "c" requires "a" and can be installed later on diff --git a/t/superuser--srpm-bootstrapping.t b/t/superuser--srpm-bootstrapping.t index e1823fc0..aacc04b1 100644 --- a/t/superuser--srpm-bootstrapping.t +++ b/t/superuser--srpm-bootstrapping.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 use strict; use lib '.', 't'; diff --git a/t/superuser--suggests.t b/t/superuser--suggests.t index 2376b166..83aaec11 100644 --- a/t/superuser--suggests.t +++ b/t/superuser--suggests.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 # a-1 suggests suggested_b # a-2 suggests suggested_b suggested_c diff --git a/t/superuser--urpmi_update.t b/t/superuser--urpmi_update.t index 475fb31c..8b7af0e4 100644 --- a/t/superuser--urpmi_update.t +++ b/t/superuser--urpmi_update.t @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 use strict; use lib '.', 't'; diff --git a/urpme b/urpme index 00a0539a..5f516d6b 100755 --- a/urpme +++ b/urpme @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 #- Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 MandrakeSoft SA diff --git a/urpmf b/urpmf index 92a959b0..d2614e8a 100755 --- a/urpmf +++ b/urpmf @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 #- Copyright (C) 2002, 2003, 2004, 2005 MandrakeSoft SA diff --git a/urpmi b/urpmi index de139894..81f90f96 100755 --- a/urpmi +++ b/urpmi @@ -1,5 +1,5 @@ #!/usr/bin/perl - +# vim:et:ai:ts=4:sts=4:sw=4 #- Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 MandrakeSoft SA #- Copyright (C) 2005-2010 Mandriva SA diff --git a/urpmi.addmedia b/urpmi.addmedia index 19d23b02..836b3ed1 100755 --- a/urpmi.addmedia +++ b/urpmi.addmedia @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 #- Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 MandrakeSoft SA @@ -197,4 +198,3 @@ urpm::removable::try_umounting_removables($urpm); exit($ok ? 0 : 1); -# vim:ts=8:sts=4:sw=4 diff --git a/urpmi.removemedia b/urpmi.removemedia index eae274c4..41a9ed06 100755 --- a/urpmi.removemedia +++ b/urpmi.removemedia @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 #- Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 MandrakeSoft SA diff --git a/urpmi.update b/urpmi.update index 8df2bf4a..8a71cd45 100755 --- a/urpmi.update +++ b/urpmi.update @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 #- Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 MandrakeSoft SA #- Copyright (C) 2005-2010 Mandriva SA diff --git a/urpmq b/urpmq index 61ba4daf..40b3f8f5 100755 --- a/urpmq +++ b/urpmq @@ -1,4 +1,5 @@ #!/usr/bin/perl +# vim:et:ai:ts=4:sts=4:sw=4 #- Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 MandrakeSoft SA -- cgit v1.2.1