Server IP : 127.0.0.2 / Your IP : 18.218.54.80 Web Server : Apache/2.4.18 (Ubuntu) System : User : www-data ( ) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/lib/dpkg/info/ |
Upload File : |
#!/bin/sh set -e test "$1" = configure || exit 0 # Snippet based on dpkg-maintscript-helper from dpkg 1.15.8. Using a # home-grown snippet instead of using Pre-Depends: dpkg (>= 1.15.7) # makes the package easier to try out on old systems without requiring # new dpkg in these early times. # # Kind reader of the future: it's about time to rip this out and use a # call to dpkg-maintscript-helper, don't you think? rm_conffile () { CONFFILE=$1; shift if dpkg --compare-versions "$2" lt-nl "$3"; then if test -e "$CONFFILE.dpkg-backup"; then mv -f "$CONFFILE.dpkg-backup" "$CONFFILE.dpkg-bak" fi if test -e "$CONFFILE.dpkg-remove"; then echo "Removing $CONFFILE ..." rm -f "$CONFFILE.dpkg-remove" fi fi } rm_conffile /etc/bash_completion.d/git "$1" "$2" '1:1.8.0-1~' removed_conffile=/etc/emacs/site-start.d/50git-core.el rm_conffile "$removed_conffile" "$1" "$2" '1:1.7.4.1-2~' # Carry over modifications so git-el can use them. if dpkg --compare-versions "$2" lt '1:1.7.4.1-2~' && ! test -e "$removed_conffile" && test -r "$removed_conffile".dpkg-bak; then mv "$removed_conffile".dpkg-bak "$removed_conffile" fi # 1.7.7-1 replaces /usr/share/doc/git/contrib/hooks with a symlink, # but dpkg doesn't do so on package upgrade if test -n "$2" && dpkg --compare-versions "$2" lt '1:1.7.7-1' && test ! -L /usr/share/doc/git/contrib/hooks && test -d /usr/share/doc/git/contrib/hooks; then rmdir /usr/share/doc/git/contrib/hooks && ln -s ../../../git-core/contrib/hooks \ /usr/share/doc/git/contrib/hooks fi