ACIL FM
Dark
Refresh
Current DIR:
/home/.cpan/build/Data-Validate-IP-0.31-0/git
/
home
.cpan
build
Data-Validate-IP-0.31-0
git
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
hooks
-
chmod
Open
Rename
Delete
setup.pl
500 B
chmod
View
DL
Edit
Rename
Delete
Edit file: /home/.cpan/build/Data-Validate-IP-0.31-0/git/setup.pl
#!/usr/bin/env perl use strict; use warnings; use Cwd qw( abs_path ); symlink_hook('pre-commit'); sub symlink_hook { my $hook = shift; my $dot = ".git/hooks/$hook"; my $file = "git/hooks/$hook.sh"; my $link = "../../$file"; if ( -e $dot ) { if ( -l $dot ) { return if readlink $dot eq $link; } warn "You already have a hook at $dot!\n"; return; } symlink $link, $dot or die "Could not link $dot => $link: $!"; }
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply