ZSec File Manager
Upload
Current Directory: /home/aiessinternational.com/public_html
[Up]
..
[Open]
Hapus
Rename
.htaccess
[Edit]
Hapus
Rename
21cbfe
[Open]
Hapus
Rename
ALFA_DATA
[Open]
Hapus
Rename
advance
[Open]
Hapus
Rename
advance.zip
[Edit]
Hapus
Rename
ammika.php
[Edit]
Hapus
Rename
c8aa5
[Open]
Hapus
Rename
click.php
[Edit]
Hapus
Rename
defaults.php
[Edit]
Hapus
Rename
google41b982abb0d9ca3b.html
[Edit]
Hapus
Rename
index.php
[Edit]
Hapus
Rename
index.php0
[Edit]
Hapus
Rename
item.php
[Edit]
Hapus
Rename
license.txt
[Edit]
Hapus
Rename
mah.php
[Edit]
Hapus
Rename
networks.php
[Edit]
Hapus
Rename
options.php
[Edit]
Hapus
Rename
pages.php
[Edit]
Hapus
Rename
plugins.php
[Edit]
Hapus
Rename
product.php
[Edit]
Hapus
Rename
readme.html
[Edit]
Hapus
Rename
robots.txt
[Edit]
Hapus
Rename
saiga.php
[Edit]
Hapus
Rename
search.php
[Edit]
Hapus
Rename
web.config
[Edit]
Hapus
Rename
wp-activate.php
[Edit]
Hapus
Rename
wp-admin
[Open]
Hapus
Rename
wp-blog-header.php
[Edit]
Hapus
Rename
wp-comments-post.php
[Edit]
Hapus
Rename
wp-config-sample.php
[Edit]
Hapus
Rename
wp-config.php
[Edit]
Hapus
Rename
wp-content
[Open]
Hapus
Rename
wp-cron.php
[Edit]
Hapus
Rename
wp-includes
[Open]
Hapus
Rename
wp-links-opml.php
[Edit]
Hapus
Rename
wp-load.php
[Edit]
Hapus
Rename
wp-log1n.php
[Edit]
Hapus
Rename
wp-mail.php
[Edit]
Hapus
Rename
wp-settings.php
[Edit]
Hapus
Rename
wp-signup.php
[Edit]
Hapus
Rename
wp-trackback.php
[Edit]
Hapus
Rename
wp.php
[Edit]
Hapus
Rename
xmlrpc.php
[Edit]
Hapus
Rename
Edit File
#!/usr/bin/perl -w use strict; use Debian::DictionariesCommon q(dico_checkroot); use Debconf::Client::ConfModule q(:all); dico_checkroot (); die "Usage: $0 package-name\n" if (scalar @ARGV != 1); version ('2.0'); my $class = "ispell"; my $question = "dictionaries-common/default-$class"; my $script = "/usr/share/dictionaries-common/dc-debconf-select.pl"; my $program = "remove-default-$class"; my $debug = 1 if exists $ENV{'DICT_COMMON_DEBUG'}; my $newflag = "/var/cache/dictionaries-common/flag-$class-new"; my %title = ('ispell' => "Dictionaries-common: Ispell dictionary", 'wordlist' => "Dictionaries-common: Wordlist dictionary" ); my ($errorcode, $value) = get $question; if ($errorcode == 0) { require $script; my $pkg = $ARGV[0]; my $languages = &dico_parse_languages($class,"languages"); my @newchoices = (); my %langsinpkg = (); # Get list of languages provided by package being removed. Check # first if package is already removed, some packages using cdbs # call this script twice, the second with package already removed if ( exists $languages->{$pkg} ){ foreach ( split (/\s*,\s*/, $languages->{$pkg}) ){ $langsinpkg{$_}++; } # Update $languages removing $pkg entry delete $languages->{$pkg}; # Update question variables with new values my ($choices, $echoices ) = &dico_get_all_choices($class,$languages); subst ($question, "choices", $choices); subst ($question, "echoices", $echoices); # Ask with new values if current value is being removed and langs are left if ( %$languages && exists $langsinpkg{$value} ) { fset ($question, "seen", "false"); input ("critical", $question); title ($title{$class}); go (); } } } # If $newflag exists, we are removing an IDWP in the same run another IDWP of the same # class is to be installed. If the to-be-installed IDWP is the new selection update-default- # -$class will fail because the new IDWP is not yet unpacked. Since in this case update- # -default-$class will be run in new IDWP postinst, we do not it here and so avoid problems. if ( -f $newflag ) { print STDERR "$program: $newflag exists, defer update-default-$class run\n" if $debug; } else { system "update-default-$class"; } # Local Variables: # perl-indent-level: 2 # End: __END__ =head1 NAME remove-default-ispell - remove default ispell dictionary =head1 SYNOPSIS remove-default-ispell <package> =head1 DESCRIPTION WARNING: Not to be used from the command line unless you know very well what you are doing. When called from package postrm, this program will take care of removing the entries associated to a ispell package from the dictionaries-common database and call for the new selection if it was the default one. =head1 SEE ALSO The dictionaries-common policy document =head1 AUTHORS Rafael Laboissiere =cut # LocalWords: ispell wordlist
Simpan