📁
SKYSHELL MANAGER-
🛒
PHP v7.4.33
Create Folder
Create File
Current Path:
sites
/
otvetkak.ru
/
Name
Size
Permissions
Actions
📁
antibot
-
0700
🗑️
🔒
📁
tmp
-
0700
🗑️
🔒
📁
..
-
0755
🗑️
🔒
📁
wp-admin
-
0700
🗑️
🔒
📁
media
-
0700
🗑️
🔒
📁
lnkr
-
0700
🗑️
🔒
📁
lib
-
0700
🗑️
🔒
📁
landing
-
0700
🗑️
🔒
📁
image
-
0700
🗑️
🔒
📁
wp-content
-
0700
🗑️
🔒
📁
banners
-
0700
🗑️
🔒
📁
wp-includes
-
0700
🗑️
🔒
📁
ajax
-
0700
🗑️
🔒
📁
.cache
-
0700
🗑️
🔒
📁
.git
-
0700
🗑️
🔒
📁
.ssh
-
0700
🗑️
🔒
📄
wp-blog-header.php
0.34 KB
0700
🗑️
⬇️
✏️
🔒
📄
service-worker.js
0.06 KB
0700
🗑️
⬇️
✏️
🔒
📄
sitemap.xml
1.75 KB
0700
🗑️
⬇️
✏️
🔒
📄
test_seowork.php
0.15 KB
0700
🗑️
⬇️
✏️
🔒
📄
wmail_09c465d87d3c161979df26f9829ccd42.html
0.16 KB
0700
🗑️
⬇️
✏️
🔒
📄
wp-trackback.php
4.77 KB
0700
🗑️
⬇️
✏️
🔒
📄
wp-signup.php
33.54 KB
0700
🗑️
⬇️
✏️
🔒
📄
wp-settings.php
24.41 KB
0700
🗑️
⬇️
✏️
🔒
📄
wp-login.php_
28.4 KB
0700
🗑️
⬇️
✏️
🔒
📄
wp-register.php
0.33 KB
0700
🗑️
⬇️
✏️
🔒
📄
wp-rdf.php
0.22 KB
0700
🗑️
⬇️
✏️
🔒
📄
wp-config.php
5.48 KB
0600
🗑️
⬇️
✏️
🔒
📄
wp-pass.php
0.4 KB
0700
🗑️
⬇️
✏️
🔒
📄
wp-cron.php
5.41 KB
0700
🗑️
⬇️
✏️
🔒
📄
wp-feed.php
0.24 KB
0700
🗑️
⬇️
✏️
🔒
📄
post-sitemap7.xml
13.24 KB
0700
🗑️
⬇️
✏️
🔒
📄
wp-links-opml.php
2.44 KB
0700
🗑️
⬇️
✏️
🔒
📄
wp-login.php
48.17 KB
0700
🗑️
⬇️
✏️
🔒
📄
wp-mail.php
8.34 KB
0700
🗑️
⬇️
✏️
🔒
📄
robots.txt
0.5 KB
0700
🗑️
⬇️
✏️
🔒
📄
post-sitemap.xml
1556.63 KB
0700
🗑️
⬇️
✏️
🔒
📄
post-sitemap6.xml
261.13 KB
0700
🗑️
⬇️
✏️
🔒
📄
fdc43c7197b903c03ce97888.html
0 KB
0700
🗑️
⬇️
✏️
🔒
📄
.gitignore
1.45 KB
0700
🗑️
⬇️
✏️
🔒
📄
.htaccess
0.19 KB
0644
🗑️
⬇️
✏️
🔒
📄
506da8d1a8ff.html
0 KB
0700
🗑️
⬇️
✏️
🔒
📄
50x.html
1.38 KB
0700
🗑️
⬇️
✏️
🔒
📄
addl-sitemap.xml
0.58 KB
0700
🗑️
⬇️
✏️
🔒
📄
ads.txt
3.67 KB
0700
🗑️
⬇️
✏️
🔒
📄
agreement.php
6.55 KB
0700
🗑️
⬇️
✏️
🔒
📄
aios-bootstrap.php
0.9 KB
0700
🗑️
⬇️
✏️
🔒
📄
category-sitemap.xml
16.45 KB
0700
🗑️
⬇️
✏️
🔒
📄
f4539d9a1d2dddd90b094a1fb2744cbd.html
0.01 KB
0700
🗑️
⬇️
✏️
🔒
📄
go.php
0.95 KB
0700
🗑️
⬇️
✏️
🔒
📄
post-sitemap5.xml
250.93 KB
0700
🗑️
⬇️
✏️
🔒
📄
google11d97dcef8eaeca0.html
0.05 KB
0700
🗑️
⬇️
✏️
🔒
📄
google670877162ab878dc.html
0.05 KB
0700
🗑️
⬇️
✏️
🔒
📄
googlecf81da77e01ae41c.html
0.05 KB
0700
🗑️
⬇️
✏️
🔒
📄
live-116cb0fc.txt
0.02 KB
0700
🗑️
⬇️
✏️
🔒
📄
page-sitemap.xml
11.42 KB
0700
🗑️
⬇️
✏️
🔒
📄
password.php
0.85 KB
0700
🗑️
⬇️
✏️
🔒
📄
post-sitemap1.xml
257.69 KB
0700
🗑️
⬇️
✏️
🔒
📄
post-sitemap2.xml
259.91 KB
0700
🗑️
⬇️
✏️
🔒
📄
post-sitemap3.xml
258.74 KB
0700
🗑️
⬇️
✏️
🔒
📄
post-sitemap4.xml
258.07 KB
0700
🗑️
⬇️
✏️
🔒
📄
yandex_571a37b60f6c38fe.html
0.16 KB
0700
🗑️
⬇️
✏️
🔒
Editing: dh_installalternatives
#!/usr/bin/perl =head1 NAME dh_installalternatives - install declarative alternative rules =cut use strict; use warnings; use constant LINE_PREFIX => ' ' . q{\\} . "\n "; use Debian::Debhelper::Dh_Lib; our $VERSION = DH_BUILTIN_VERSION; =head1 SYNOPSIS B<dh_installalternatives> [S<I<debhelper options>>] =head1 DESCRIPTION B<dh_installalternatives> is a debhelper program that is responsible for parsing the declarative alternatives format and insert the relevant maintscripts snippets to interface with L<update-alternatives(1)> =head1 FILES =over 4 =item debian/I<package>.alternatives An example of the format: Name: editor Link: /usr/bin/editor Alternative: /usr/bin/vim.basic Dependents: /usr/share/man/man1/editor.1.gz editor.1.gz /usr/share/man/man1/vim.1.gz /usr/share/man/fr/man1/editor.1.gz editor.fr.1.gz /usr/share/man/fr/man1/vim.1.gz /usr/share/man/it/man1/editor.1.gz editor.it.1.gz /usr/share/man/it/man1/vim.1.gz /usr/share/man/pl/man1/editor.1.gz editor.pl.1.gz /usr/share/man/pl/man1/vim.1.gz /usr/share/man/ru/man1/editor.1.gz editor.ru.1.gz /usr/share/man/ru/man1/vim.1.gz Priority: 50 The fields B<Link>, B<Name>, B<Alternative>, and B<Priority> are mandatory and correspond to the L<update-alternatives(1)> B<--install> parameters B<link>, B<name>, B<path>, and B<priority> respectively. The B<Dependents> field is optional and consists of one or more lines. Each non-empty line must contain exactly 3 space separated values that match (in order) the values passed to the B<--slave> parameter for L<update-alternatives(1)>. =back =head1 OPTIONS =over 4 =item B<-n>, B<--no-scripts> Do not modify F<postinst>/F<postrm>/F<prerm> scripts. =back =cut init(); # Explicitly discard attempts to use --name; it does not make sense for # this helper. if ($dh{NAME}) { warning('Ignoring unsupported --name option'); } $dh{NAME} = undef; # PROMISE: DH NOOP WITHOUT alternatives cli-options() foreach my $package (@{$dh{DOPACKAGES}}) { my $tmp = tmpdir($package); my $alternatives = pkgfile($package, 'alternatives'); if (-f $alternatives) { _parse_alternatives_file_and_generate_maintscripts($package, $tmp, $alternatives); } } sub _parse_alternative_and_generate_maintscript { my ($package, $tmpdir, $alternatives_file, $ctrl) = @_; my $link_name = $ctrl->{'Name'} // error("Missing mandatory \"Name\" field in ${alternatives_file}"); my $link_path = $ctrl->{'Link'} // error("Missing mandatory \"Link\" field for \"${link_name}\" in ${alternatives_file}"); my $impl_path = $ctrl->{'Alternative'} // error("Missing mandatory \"Alternative\" field for \"${link_name}\" in ${alternatives_file}"); my $priority = $ctrl->{'Priority'} // error("Missing mandatory \"Priority\" field for \"${link_name}\" in ${alternatives_file}"); my %maintscript_options; if (index($link_name, '/') > -1) { error(qq{Invalid link name "${link_name}" in "${alternatives_file}": Must not contain slash}); } my $actual_impl_path = "${tmpdir}/${impl_path}"; if ( ! -l $actual_impl_path && ! -e _) { error(qq{Alternative "${impl_path}" for "${link_name}" in ${alternatives_file} does not exist in ${tmpdir}}); } if ( -d $actual_impl_path) { error(qq{Alternative "${impl_path}" for "${link_name}" in ${alternatives_file} is a directory}); } if ($link_name eq $impl_path) { error(qq{The link name cannot be the same as the implementation path "${link_name}" (in "${alternatives_file}")}); } $maintscript_options{'RM_OPTIONS'} = "--remove ${link_name} ${impl_path}"; $maintscript_options{'INSTALL_OPTIONS'} = "--install ${link_path} ${link_name} ${impl_path} ${priority}"; if (defined(my $slave_link_text = $ctrl->{'Dependents'})) { my (%dlink_dup, @dependent_links); for my $line (split(/\n/, $slave_link_text)) { my ($dlink_name, $dlink_path, $dimpl_path, $trailing); my $error_with_def = 0; $line =~ s/^\s++//; $line =~ s/\s++$//; next if $line eq ''; # Ignore empty lines ($dlink_path, $dlink_name, $dimpl_path, $trailing) = split(' ', $line, 4); if (not $dlink_name) { warning(qq{Missing link name value (2nd item) for dependent link "${dlink_name}" for "${link_name}"} . qq{ in "${alternatives_file}"}); $error_with_def = 1; } elsif (index($dlink_name, '/') > -1) { warning(qq{Invalid dependent link name "${dlink_name}" for "${link_name}"} . qq{ in "${alternatives_file}": Must not contain slash}); $error_with_def = 1; } elsif ($dlink_dup{$dlink_name}) { warning(qq{Dependent link "${dlink_name}" is seen more than once for "${link_name}"} . qq{ in ${alternatives_file}}); $error_with_def = 1; } if (not $dimpl_path) { warning(qq{Missing path (alternative) value (3rd item) for dependent link "${dlink_name}"} . qq{ for "${link_name}" in "${alternatives_file}"}); $error_with_def = 1; } if ($dlink_name eq $dimpl_path) { warning(qq{The link name cannot be the same as the implementation path for "${dlink_name}"} . qq{ in "${alternatives_file}"}); $error_with_def = 1; } if ($trailing) { warning(qq{Trailing information for dependent link "${dlink_name}" for "${link_name}"} . qq{ in "${alternatives_file}"}); warning("Dependent links must consist of exactly 3 space-separated values"); $error_with_def = 1; } if ($error_with_def) { my $link_id = $dlink_name // ('no ' . (scalar(@dependent_links) + 1)); error("Error parsing dependent link ${link_id} for \"${link_name}\" in ${alternatives_file}."); } push(@dependent_links, "--slave $dlink_path $dlink_name $dimpl_path"); } error("Empty \"Dependents\" field for \"${link_name}\" in ${alternatives_file} (please remove it or add an entry)") if not @dependent_links; $maintscript_options{'INSTALL_OPTIONS'} .= LINE_PREFIX . join(LINE_PREFIX, @dependent_links); } for my $wrong_name (qw(Slave Slaves Slave-Links)) { if ($ctrl->{$wrong_name}) { error("Please use Dependents instead of ${wrong_name}"); } } autoscript($package, 'postinst', 'postinst-alternatives', \%maintscript_options); autoscript($package, 'prerm', 'prerm-alternatives', \%maintscript_options); return; } sub _parse_alternatives_file_and_generate_maintscripts { my ($package, $tmpdir, $alternatives_file) = @_; my ($ctrl, $fd); require Dpkg::Control::HashCore; open($fd, '<', $alternatives_file) or error("open $alternatives_file failed: $!"); while (defined($ctrl = Dpkg::Control::HashCore->new) and ($ctrl->parse($fd, $alternatives_file))) { _parse_alternative_and_generate_maintscript($package, $tmpdir, $alternatives_file, $ctrl); } close($fd); return; } =head1 SEE ALSO L<debhelper(7)> This program is a part of debhelper. =cut
💾 Save Changes