Server IP : 85.214.239.14 / Your IP : 3.17.183.204 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/2/root/proc/2/root/proc/2/cwd/proc/2/root/var/lib/dpkg/info/ |
Upload File : |
#! /bin/sh set -e LC_ALL=C LANG=C unset TZ umask 022 get_timezone() { if ! [ -L "$DPKG_ROOT/etc/localtime" ] ; then return fi timezone="$(readlink "$DPKG_ROOT/etc/localtime")" timezone="$(cd "$DPKG_ROOT/etc" && realpath -m -s "$timezone")" echo "${timezone#/usr/share/zoneinfo/}" } . /usr/share/debconf/confmodule db_version 2.0 if [ "$1" = configure ]; then # Get the values from debconf AREA=Etc ZONE=UTC db_get tzdata/Areas && AREA="$RET" db_get "tzdata/Zones/$AREA" && ZONE="$RET" TIMEZONE="$AREA/$ZONE" db_stop # Update the time zone if test "$(get_timezone)" != "$TIMEZONE"; then ln -nsf "/usr/share/zoneinfo/$TIMEZONE" "$DPKG_ROOT/etc/localtime.dpkg-new" && \ mv -f "$DPKG_ROOT/etc/localtime.dpkg-new" "$DPKG_ROOT/etc/localtime" which restorecon >/dev/null 2>&1 && restorecon "$DPKG_ROOT/etc/localtime" fi echo "$TIMEZONE" > "$DPKG_ROOT/etc/timezone" which restorecon >/dev/null 2>&1 && restorecon "$DPKG_ROOT/etc/timezone" echo echo "Current default time zone: '$TIMEZONE'" # Show the new setting to the user UTdate=$(LC_ALL=C TZ=UTC0 date) TZdate=$(unset TZ ; LANG=C date -d "$UTdate") echo "Local time is now: $TZdate." echo "Universal Time is now: $UTdate." if [ -z "$DEBCONF_RECONFIGURE" ] ; then echo "Run 'dpkg-reconfigure tzdata' if you wish to change it." fi echo fi # Automatically added by dh_installdeb/13.11.4 dpkg-maintscript-helper dir_to_symlink /usr/share/zoneinfo/posix/Africa ../Africa 2022g-1\~ -- "$@" dpkg-maintscript-helper dir_to_symlink /usr/share/zoneinfo/posix/America ../America 2022g-1\~ -- "$@" dpkg-maintscript-helper dir_to_symlink /usr/share/zoneinfo/posix/Antarctica ../Antarctica 2022g-1\~ -- "$@" dpkg-maintscript-helper dir_to_symlink /usr/share/zoneinfo/posix/Arctic ../Arctic 2022g-1\~ -- "$@" dpkg-maintscript-helper dir_to_symlink /usr/share/zoneinfo/posix/Asia ../Asia 2022g-1\~ -- "$@" dpkg-maintscript-helper dir_to_symlink /usr/share/zoneinfo/posix/Atlantic ../Atlantic 2022g-1\~ -- "$@" dpkg-maintscript-helper dir_to_symlink /usr/share/zoneinfo/posix/Australia ../Australia 2022g-1\~ -- "$@" dpkg-maintscript-helper dir_to_symlink /usr/share/zoneinfo/posix/Brazil ../Brazil 2022g-1\~ -- "$@" dpkg-maintscript-helper dir_to_symlink /usr/share/zoneinfo/posix/Canada ../Canada 2022g-1\~ -- "$@" dpkg-maintscript-helper dir_to_symlink /usr/share/zoneinfo/posix/Chile ../Chile 2022g-1\~ -- "$@" dpkg-maintscript-helper dir_to_symlink /usr/share/zoneinfo/posix/Etc ../Etc 2022g-1\~ -- "$@" dpkg-maintscript-helper dir_to_symlink /usr/share/zoneinfo/posix/Europe ../Europe 2022g-1\~ -- "$@" dpkg-maintscript-helper dir_to_symlink /usr/share/zoneinfo/posix/Indian ../Indian 2022g-1\~ -- "$@" dpkg-maintscript-helper dir_to_symlink /usr/share/zoneinfo/posix/Mexico ../Mexico 2022g-1\~ -- "$@" dpkg-maintscript-helper dir_to_symlink /usr/share/zoneinfo/posix/Pacific ../Pacific 2022g-1\~ -- "$@" dpkg-maintscript-helper dir_to_symlink /usr/share/zoneinfo/posix/US ../US 2022g-1\~ -- "$@" # End automatically added section exit 0